A URL rewrite engine is software that modifies a web URL's appearance (URL rewriting). Rewritten URLs (sometimes known as short, fancy URLs, or search engine friendly - SEF) are used to provide shorter and more relevant-looking links to web pages. The technique adds a degree of separation between ...
2
votes
1answer
253 views
DNS name/host-header specific url-pattern/security-constraint, to not require SSL with Tomcat6
I am needing to enable SSL on an application hosted through Tomcat6 and I have added the following to the tomcat web.xml:
<security-constraint>
<web-resource-collection>
...
2
votes
1answer
64 views
Force google to just index rewrited urls
Let's think we have a website with a URL like http://www.domain.com/webdesign/
that rewrites http://www.domain.com/?article=1.
now when i search my keyword in Google, it will show up ...
2
votes
1answer
295 views
Htaccess - Rewrite png to php file
I currently use trans.png.php?id=1&campaign=test to track my newsletter campaigns.
I want to use trans.png instead as it's the src of an img tag.
How can i do this in htaccess? Also is there any ...
1
vote
1answer
308 views
Are urls with ?page=something bad for SEO? [duplicate]
Possible Duplicate:
Is a URL with a query string better or worse for SEO then one without one?
I have a listing of members on my homepage. My dynamic urls are quite simple:
...
0
votes
3answers
849 views
Want to create dynamic subdomain in codeigniter? [closed]
In my site i want to add an functionality for user to use their username with domain.
Like in codeigniter right now i want to give the user to use their own url to login in site and do other stuff.
...
4
votes
4answers
315 views
Removing page levels/ keeping url clean
I have recently put my site live - http://www.soundplaza.co.uk
I then bumped into a few articles mentioning about page length and depth and I was wondering if I should change the URL structure while ...
3
votes
1answer
85 views
Can Google Index Rewriten URLs?
Can Google index rewriten URLs? I mean, if I have the link
<a href="http://mydomain.com/document">Grab the document!</a>
and if I instruct Apache to rewrite http://mydomain.com/document ...
2
votes
1answer
825 views
In IIS what is the difference between rewrite rules managed by URL Rewrite Module versus those only in web.config?
In IIS what is the difference between rewrite rules managed by URL Rewrite Module versus those which are only in the web.config file and do not appear in the URL Rewrite Module?
Using the URL Rewrite ...
0
votes
2answers
46 views
Moving a site that was already moved - how should I deal with rewrites and redirects?
I have a site that used to have all of its pages hosted on a single domain (e.g. mydomain.com). At some point, a portion of the site's content was moved to another domain and the folks who did the ...
2
votes
1answer
1k views
nginx proxy rewrite not matching
I'm setting Nginx to forward requests to several backend services using proxy_pass
A few of them I have to add rewrite rules to strip the folder off, however for this particular service, the rewrite ...
1
vote
0answers
32 views
SEO/performance - building blog article page [duplicate]
Possible Duplicate:
What are the best ways to increase your site's position in Google?
I've been using WP up and until now, but want to spread my wings and build a bespoke blog for my ...
4
votes
2answers
495 views
Redirecting URLs when launching a new website - how to avoid dropping page rank
i have over 100 urls in my website which i need to redirect:
E.g.
/page/how-to-bake-chocolate-cookies/ will redirect to /cookies/how-to-bake-chocolate-cookies/
/page/contact/ will redirect to ...
2
votes
2answers
207 views
Tool to generate list of redirections (sitemap for .htaccess)
Is there any good tool (preferably for Ubuntu), that can help me generate a list of URLs used on a site?
I'm building new version of some site, but I don't want to get 404 errors for the old pages. ...
1
vote
1answer
65 views
Personalized sub-domain URLs
Most of the SaaS companies, some social networking, and blog services (like Wordpress.com and blogger) create a personalized sub-domain for each user, e.g. username.website.com
What is the general ...
1
vote
1answer
147 views
dynamically rewrite URLs upon the user's selection - is it possible?
In my PHP based web application, there's a form that generates a URL according to the user's selection.
The form has 7 different fields, each one of them affects the final URL, none of them is ...
0
votes
2answers
183 views
How to allow nonsense characters as web url for example: & * Ö :: and more
I have a database which contain many name with combination of those characters. Once i will reload them, they will become public web url.
So that visitor if open this url (its valid??): ...
1
vote
2answers
1k views
Using ending .html for URL re-write?
For re-writing URLs to generate SEO friendly pretty URLs, it was usually recommended to use the ending extension (normally .html), as without the extension, the URL seems to be incomplete. Probably, ...
4
votes
2answers
325 views
Having google index canonicals but users using parameters - correct?
I'm working on a site that has a search facility with multiple parameters that look up property listings. The possible parameters are:
City, Area, Building Type, Min. Bedrooms, Max Rental Price, ...
5
votes
3answers
9k views
How to remove trailing slashes from URL with .htaccess?
The situation
Across the entire domain, we'd like the URLs to hide file extensions and remove trailing slashes, independent of the domain name itself (as in, works on any domain).
Sample of our ...
-2
votes
2answers
182 views
.htaccess guide / examples / tutorials? [closed]
Does anyone know of any good guides for someone new to editing and making .htaccess files. Anything about rewriting urls, directory access and passwording a directory would be great.
1
vote
2answers
499 views
Url rewrite subfolder to root and forbid accessing subfolder
I have drupal installed in a subfolder drupal, but I want to access pages as it is in root folder: http://www.example.com instead of http://www.example.com/drupal
I'm able to have this working, but ...
3
votes
1answer
134 views
Looking for a step by step guide to URL re-writing with mod_rewrite and other methods
I'm looking for step by step resource about how to rewrite URLs and have a few specific questions.
I've read the documentation on mod_rewrite in Apache, but I still find myself a little lost.
If ...
4
votes
2answers
962 views
URL rewriting removing question mark and replace it with slash
How can I rewrite my URL from edit.php?id=2 to edit/id/2?
0
votes
2answers
2k views
.htaccess rewrite www to non-www and remove .html
I need rewrite rules to redirect the following:
http://www. to http://
/file.html to /file
I've tried using a combination of these but each time it results in a redirect loop on one of the ...
8
votes
1answer
1k views
Alternative to .htaccess (due to bad performance?)
I've been told that .htaccess should be avoided when possible, as it reduces the server performance and new servers disables it or just don't implement it anymore.
I don't know how true this is, but ...
0
votes
2answers
51 views
Cannot allocate resources due to URL rewriting
I've a rewrite rule to convert mysite.com/?lang=en to mysite.com/en, but this now gets me into troubles as the referenced files in the .html are relative to parent folder, and now its supossed to be ...
1
vote
3answers
1k views
Search Engine Friendly URLs with Query String
I have content that can be accessed from various ways. For example my content is reviews and I have three type of reviews:
/customer-reviews/11/slug.html
/third-party-reviews/11/slug.html
...
1
vote
1answer
85 views
What impact (if any) will using the term 'portal' in my subdomain names, have on SEO for my website?
I am building a portal for a specific category of information. I am trying to decide whether to use subdomains like:
www.portal.mysite.com/home.html (home page)
...
5
votes
3answers
250 views
Why treat these as different URLs?
These are all strictly different urls:
http://www.example.com/page
http://www.example.com/pAge
http://www.example.com/page/
http://www.example.com/paGE/
I get that it conforms to the strict ISO ...
5
votes
2answers
2k views
How Do I Setup 301 Redirects in Google Apps Site?
I have just moved a website from a shared host to a Google Apps site.
Is there a way I can setup 301 redirects on my Google Apps site so that old links (with a different URL) can be 301 redirected to ...
0
votes
1answer
78 views
Sitemap and url are laid out differently from each other
There is a website and the layout looks something like below:
home->approved->
education entertainment business
| ...
0
votes
1answer
824 views
How can I fix an Apache redirect loop
I have a strange Apache/WordPress redirect loop that I can't seem to figure out.
Here is the relevant logs and other info: http://pastebin.com/E1afW2vw
It seems that the page request gets made, and ...
1
vote
1answer
57 views
How do search engines handle URL's when it comes to SEO?
I am building a website using Symfony. At the moment, the "raw" URL's being used are like this:
www.localhost.com/mainpage/home
www.localhost.com/events/1/name-of-the-event
When the development of ...
3
votes
1answer
142 views
Adding names to slug of URL
On webpages generated from user generated content, I create slugs for the URLs based on the title (just like stackoverflow does):
http://www.example.com/photo/day_at_park
If there's more than one ...
1
vote
1answer
397 views
Can Apache “Correct” URL Case?
Let's say I keep every word of file names capitalized. For example, Home.php or MultipleWordTitle.html.
Is there any way for Apache to redirect requests for incorrectly-cased URLs to the capitalized ...
-1
votes
2answers
2k views
Having trouble redirecting old product sites and categories to new pages
I recently upgraded a shopsystem to prestashop and imported the previous products (~1200), and I managed to keep the old category_id and product_id. I'm trying to set up those 2 rules to redirect all ...
2
votes
2answers
84 views
When is it worth it to make my URLs “pretty”?
We are in 2011, search engines are now using hundreds or thousands of parameters to weight a page. The URL is only one of them, is it still so much of an impact in the search results? People are ...
3
votes
1answer
186 views
SEO - reducing URL length
Take a recent question:
http://stackoverflow.com/questions/6479771/properties-of-inner-exception-are-disposed
Instead of having an integer, if we base 36 encode the question ID we get 3uvtn, cutting ...
2
votes
2answers
204 views
Different urls to same page and redirect
I have 3 urls leading to same page
// as most pages are in google, my previous website's version
http://mysite.com/1234.aspx
// shortcut
http://mysite.com/1234
// SEO url
...
3
votes
2answers
94 views
Site-wide redirect with Tomcat4
Disclaimer: My webmastering experience is almost nil. Apologies if anything seems ignorant - if it sounds that way, it probably is.
My employer is in the middle of switching over from one version of ...
7
votes
2answers
486 views
SEO : urls : best place for the id
I would like to know what's the best location for an id in a SEO optimized URL:
http://www.site.com/id/slug-title
http://www.site.com/slug-title-id
What do you think ?
1
vote
2answers
46 views
rewrite url (redirection)
How to rewrite url:
www.domain.com
domain.com
to
www.domain.com/sell.html
Were sell.html is already rewritten I need some kind of redirection.
3
votes
1answer
316 views
clean urls and differences in hosts
I am developing a relatively static website, where I want to be able to access each page without typing .html (or .htm or .xhtml ...) at the end (/about not /about.html).
I am developing using the ...
3
votes
1answer
404 views
What does the '^' mean in “rewrite ^ http://test.com permanent;”
I found some configuration of nginx contains:
if($args ^~ post=140) {
rewrite ^ http://test.com/ permanent;
}
What does the ^ mean in rewrite ^ http://test.com/ permanent?
4
votes
2answers
221 views
After URL rewriting Google still features many of the old and dirty URLs
I did a complete URL rewriting of my site some three months ago, however Google still features many of the old URLs.
They're not dead links as they correctly redirect to the new URLs, but it sort of ...
1
vote
1answer
847 views
URL Rewrite to subdomains?
say i have a website with /article.php?id=1&category=Minecraft&Name=Lorem+Ipsum
and /topic.php?category=Minecraft
how would i setup url rewrite to make the topic pages being
...
0
votes
1answer
2k views
“Rule caching” in .htaccess - How to force apache to re-read a modified .htaccess?
I am reorganizing the link structure of a dynamic php-based site of mine. What I am trying to obtain is:
redirect old links onto new ones;
create new RewriteRules for new links, since every 'link' ...
0
votes
3answers
67 views
RewriteRule was matching before migration, but now browser gets a 404 error
I have this URL rewrite rule in my .htaccess
RewriteEngine on
RewriteRule ^home$ home.php
but when I try to reach awatag.com/home I get a 404 error.
This rule worked perfectly before moving the ...
1
vote
1answer
10k views
Apache: Virtual Host and .htacess for URL Rewriting not working
I have configured a virtual host in my local machine and every thing is working fine.
Now I want to use SEO friendly urls. To achieve this I have used the .htaccess file.
My virtual host ...
2
votes
2answers
82 views
Displaying “index.php” in URL
Is there a best practice/convention to have www.example.com as opposed to www.example.com/index.php in a site's URL? I made the links to the homepage relative (i.e. href="index.php") as opposed to ...