Use of Apache mod_rewrite module for SEO?
-
I'm curious if anyone here running a large, complex, dynamic site has used the Apache server mod_rewrite module to simplify their site's URLs by rewriting them in a standard format.
The chief use of this module for SEO purposes would be to aid in canonicalization and reduce duplicate content. For example, you could easily convert all of you ALL CAPS or MixedCase URLs to lower case, change all "/index.html" URLs to just point to "/", change all word seperators to hyphens, and so on.
Any server-side ninjas out there with stories to tell?
-
If you're looking for truly apache mod_rewrite stories I cannot help, but I have implemented site-wide redirect schemes so that (for example) all URL's are put into Title Case, all folders are redirected to ensure trailing slash, and much more.
It made a big difference and is highly recommended. Our duplicate content (that google wasnt even reporting but that we saw with tools like the IIS SEO toolkit http://www.iis.net/download/seotoolkit) dropped to zero and shortly afterwards our traffic increased as a result of increased keyword ranking almost across the board.
Too many people ignore this.
-
I use Drupal CMS alot for my sites. It provides a simple .htaccess with mod_rewrite ON and examples. Also, if using drupal you can create alot of rules from the admin part (such as url aliases and 301 redirects) rather than in the file itself. So, you dont necessarily have to be a ninja to tweak all these settings.
Also alot of caching is done through mod_rewrite as when you cache the page to HTML and rewrite the path in .htaccess to use html cache when someone requests given url => speeds up the site , because it will not even need to touch a database and go directly to html file with cached data.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Audit my SEO Project
Hey professionals, I works on "MyInfo Community" as a SEO worker, anyone can help me to audit my this project? Because i am newbie in this field. Thanks!
Intermediate & Advanced SEO | | smartpoedgr0 -
Which automatic redirects to use in International SEO
Hi, I need help with international SEO redirects. I'm going to have intelligencebank.com/au for Australian visitors and intelligencebank.com for the rest of the world. I would like to automatically redirect aus users that land on .com to .com/au and vice versa for non-australian users. 1. Which automatic redirects should I use: a) java script because it will allow US based google bots to crawl my /au website (bots won't read javascript so they won't be redirected) b) http redirects c) 301 redirects d) 302 redirects e) anything else? a) Should I still use rel alternate even though I only use english? b) if I should add rel alternate, can I still keep my existing rel canonical tags that are use to avoid duplicate content (I use a lot of utm codes when advertising)
Intermediate & Advanced SEO | | intelligencebank0 -
Video seo stats
I've come across various places that give statistics for things like "Video search results have a higher click-through than plain text results. " and
Intermediate & Advanced SEO | | Gordon_Hall
"Video is 50 times more likely to get organic page ranks in Google than plain text results" How true are these and does anyone have a definitive guide to video SEO?0 -
A very basic seo question
Sorry, been a long day and wanted a second opinion on this please.... I am developing an affiliate store which will have dozens of products in each category. We will not be indexing the product pages themselves as they are all duplicate content. The plan is to have just the first page of the category results indexed as this will have unique content about the products in that section. The later pagnated pages (ie pages 2,3,4,5 etc) will have 12 products on each but no unique content. Would the best advice be to add a canonical tag to all pages in the 'chairs' category pointing to the page with the first 12 results and the descriptions? This would ensure that the visitors are able to browse many pages of product but google won't index products 13 and onwards. Am I right in my thinkings? A supplemental question. What is the best way to block google from indexing/crawling 90,000 product listings which are pulled direct from the merchant so are not unique in the least. I have previous played with banning google from the product folder but it reports health issues in webmaster tools. Would the best route be a no index tag on all the product pages and to no follow all the products in the category listings? Many thanks Carl
Intermediate & Advanced SEO | | Grumpy_Carl0 -
Seo for Q&A site
Hi, I am working on a newly launched Q&A site. We have very few questions and users right now and very very low seo traffic. In order to increase the number of users and seo traffic we intend to create a number of pages containing potential questions. Each page would have the following structure: Question. Ex: "What are the top wholesale suppliers of coffee in China?" Some content. Ex: Are you looking for wholesale suppliers of coffee in China? Post your question here? Question form Some additional content So there would be a page for wholesale suppliers of coffee for every country. We would publish the pages gradually and the content would be unique but yet similar (ex: only the Country changes). What do you think about this approach? Is it a good idea or can it be dangerous? We don't want to incur in any kind of penalization, we just want to give the possibility to people who are looking for specific information to find us and be able to post the request on our website.
Intermediate & Advanced SEO | | Ypsilon0 -
Page Titles SEO Title
Hi, I run an e-commerce store and within the CMS I define the SEO title, SEO description and SEO keywords for each item. I spoke to a SEO firm who advised me to start every product title with the colour, as this will reduce the duplicate page titles and serve me well in the future. Whats everyones view on this? Does naming something Grey Armani Jeans | Armani Jeans from Designer Boutique stand up better against Armani Jeans Grey | Armani Jeans from Designer Boutique? Any help or tips on how to format the page titles and descriptions would be great. Thanks Will
Intermediate & Advanced SEO | | WillBlackburn0 -
Hiring an SEO company
I usually do SEO myself but now its time to move on to getting on with running the business. I have found a fantastic PPC company who ONLY focus on PPC and am looking for same but for SEO. Must be based in UK and have a great portfolio of mid/large tier companies with some real life stats to back them up. Pricing must be clear and transaparent. Results must be measurable. How would you find such a company? Ironically searching on Google doesn't seem to produce the right results 😞 Alastair
Intermediate & Advanced SEO | | alastairc0 -
Do interstitials hurt SEO?
If you go to www.homeportfolio.com and click on one of the links in the footer. you'll notice you are presented with an interstitial. Can you tell me if that hurts our SEO and if we lose any link juice or suffer in any other way as a result of this linking method? my main concern is whether having anchor text that says "bathroom ideas" that goes to an interstitial that doesn't mention bathroom ideas is non-relevant... even if it refreshes 12 seconds to a page that is.
Intermediate & Advanced SEO | | KaplanSEM0