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 ...

learn more… | top users | synonyms (1)

1
vote
1answer
679 views

Managing 404 error pages with noindex and url rewrite

Currently I use custom 404 error pages, having the following meta on them : <meta content="noindex" name="robots"> My guess is this way Google will remove deleted pages faster from the index, ...
1
vote
1answer
2k views

Where does one find syntax descriptions for IIS URL Rewrite condition input variables?

The need to understand what the variable represents and also perhaps examples of what it contains would be helpful. I've seen such postings for URL Rewrite of Apache in the documentation, but nothing ...
1
vote
1answer
5k views

URL Rewrite http to https EXCEPT files in a specific subfolder

I am trying to force all traffic on my web site to use HTTPS, using the URL Rewrite 2.0 module added to IIS 7.5. I got that working and now have a need to exclude a couple of pages from using SSL. So ...
0
votes
1answer
40 views

urlrewrite and search engines

I have a urlrewrite that rewrites my urls like mypage.aspx?id=123&title=mytitle into ...page/mytitle/123/ I'm trying to understand what are the pros / cons if any of having it like ...
2
votes
2answers
1k views

apache rewriting url doesn't work(using godaddy hosting)

I'm using a framework to create my website(codeigniter) by default the urls are like this:mysite.com/index.php?/etc/etc/etc. And I'm trying to remove the index.php?, I tried to remove it by doing ...
1
vote
1answer
479 views

URL Rewrite for SSL

I have SSL configured for a cart directory in my website. I'm having a very difficult time trying to configure SSL for a different directory within the same website. I ask the question on SO, and was ...
4
votes
2answers
571 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
1answer
350 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
2answers
558 views

Apache Rewrites not working due to Akamai

I have a website which is setup with akamai. My domain and subdomains are mapped onto an Akamai IP. I have written an Apache rewrite which does an internal URL X to another internal URL Y. This ...
1
vote
1answer
993 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: ...
3
votes
1answer
99 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
973 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
49 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 ...
1
vote
0answers
34 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 ...
3
votes
1answer
182 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 ...
2
votes
2answers
290 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
83 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 ...
0
votes
2answers
275 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??): ...
2
votes
1answer
213 views

Is there a SEO benefit of a 'reverse canonical redirect' back to the 'friendly' URL?

As far as I understand, you should have a single URL to access a given page on a website to prevent duplicate issues. With this in mind I have setup IIS7 Rewrite to point my friendly URLs to my .aspx ...
4
votes
2answers
419 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, ...
-2
votes
2answers
237 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
2k views

apache domain redirect to subfolder

I have a hosting account with godaddy. Its a linux system running apache. The way they do their setup is your primary domain is the root folder. When you add a subdomain its in a subfolder of the ...
1
vote
3answers
2k views

apache rewrite .htaccess google adwords gclid

I've got an url coming in as: /index.php?/location/&gclid=287ejek22kj This is going to a 404 page because of the gclid... I need it to go to: /index.php?/location I've tried this, with no ...
8
votes
1answer
3k 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 ...
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 ...
0
votes
2answers
53 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 ...
2
votes
2answers
300 views

Mod Rewrite not working on my addon domain

have a wordpress website on my main domain For the wordpress website i have this in my .htaccess file # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond ...
2
votes
2answers
342 views

Can you rewrite the root?

Not sure how to word this one but will explain most I can. I am trying to make the following happen. Re-write this http://domain.name To this http://domain.name/home/ Is it possible ? update ...
1
vote
1answer
104 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) ...
0
votes
1answer
83 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
172 views

Restrict access of rewriting file using .htaccess

I rewrite my .php files to .htm, using the following code in .htaccess file. RewriteEngine on Options +FollowSymlinks RewriteRule ^(.+)\.htm$ $1.php [NC] This is working fine. But now I want to ...
1
vote
1answer
65 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 ...
0
votes
1answer
3k 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
73 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
602 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 ...
2
votes
2answers
93 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
221 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
237 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
1answer
471 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 ...
1
vote
1answer
1k 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 ...
1
vote
1answer
97 views

I need a little help with .htaccess rewrite

I need a little help with .htaccess file I have songs, singers and albums links I want to rewrite. I all ready rewrote the links and they are like this: the links for the songs is like this: ...
1
vote
2answers
140 views

htaccess rewrite problem

Maybe is best way to show my problem in one example. In my .htaccess : RewriteRule ^catalog/[a-z0-9_-]+-([0-9]+)/[a-z0-9_-]+-([0-9]+)/[a-z0-9_-]+-([0-9]+)/ ...
0
votes
1answer
69 views

help with htaccess code for navigation [duplicate]

Possible Duplicate: I need a little help with .htaccess rewrite Hello, I need a little help with .htaccess file. I have songs, singers and albums links I want to rewrite. I already rewrote ...
1
vote
2answers
237 views

How does WordPress determine which template to show?

So I recently set up a Wordpress blog and I've noticed that when I make posts, the link is http://www.domain.com/?p=2. I was wondering how you could specify which file to use to parse such requests. ...
3
votes
2answers
3k views

Use .htaccess to rewrite requests for a PNG as a PHP GET variable

I'm REALLY bad with .htaccess files, and reading through the existing questions on SO only confuse me more (mainly because they're all situation-specific and don't exactly apply to my situation at ...
2
votes
2answers
84 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 ...
12
votes
1answer
670 views

Ars Technica .ars URL suffix — Vanity or SEO Benefit?

The Technology website Ars Technica has adjusted their URL rewrite rules to end with a .ars. Traditionally, sites have taken advantage of this URL rewriting capability to completely eliminate file ...
3
votes
2answers
2k views

How to track subdomains with Google Analytics while having mod_rewrite redirect to a subdomain?

When users come directly to domain.com or www.domain.com, I am redirecting them to shop.domain.com via this .htaccess rewrite: RewriteEngine on RewriteCond %{HTTP_HOST} ^www.domain.com$ [OR] ...
1
vote
1answer
984 views

Different robots.txt for two different domains point to same folder

I have the following two domains: domain.com test.domain.com Both point to same folder which is "public_html". What I want is a different robots.txt file for each domain. So when someone ...
0
votes
1answer
268 views

How to block access to a sub-site with mod_rewrite?

Let's say I have the sites siteA.com and siteB.com. They are hosted such that siteB.com actually points to siteA.com/siteB. How can I block someone from visiting siteA.com/siteB using mod_rewrite? ...