How do I make my URLs SEO friendly?
-
Hi all,
I am aware that overly-dynamic URLs hurt a website's SEO potential and I want to fix mine. At present they look like this:
http://www.societyboardshop.co.uk/products.php?brand=Girl+Skateboards&BrandID=153
What do I need to do to fix them please... do I add some code to the htaccess file?
Many thanks, much apreciated.
Paul.
-
Hi Paul
Which CMS system are you using? I ask because there can sometimes be a ready built solution to your problem in the form of a plugin or module.
-
No, the $ is part of the .htaccess rule, try that and let me know if it works for you.
I would strongly recommend using the rule above on a development version of your website and not directly on the live server.
-
Thanks Ben, but is that for US websites? I noticed the $ sign.
-
Try creating a .htaccess file on the root of your website with the following code.
Options +FollowSymLinks
RewriteEngine on
RewriteRule /brand/(.*)/ products.php?BrandID=$1
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
-
SEO Friendly Facets
Hi I'm still stuck on the subject if SEO friendly facets. Firstly, is it worth investing time in over things like SEO campaigns/content marketing as I'm the only one working on SEO and trying to prioritise all tasks 🙂 Can I set up facets so they are SEO friendly - should they simply be blocked? my concern is wasting crawl budget and duplicate pages. Here's an example of a page on the site - https://www.key.co.uk/en/key/lift-tables Here's an example of a facet URL - https://www.key.co.uk/en/key/lift-tables#facet:-1002779711011711697110,-700000000000001001651484832107103,-700000000000001057452564832109109&productBeginIndex:0&orderBy:5&pageView:list& What would be the best course of action to take to make them SEO friendly? Tips would be appreciated 🙂
Intermediate & Advanced SEO | | BeckyKey0 -
Recommended URL Structure
Hello, We are currently adding a new section of content on our site related to Marketing and more specifically 'Digital Marketing' (research reports, trend studies, etc). Over time (several months, or 1-3 years) we will add more 'general' marketing content. My question is which of the following URL structures makes more sense from an SEO perspective (and how best to quantify the benefit of one over another): www.mysite.com/marketing/digital/research/... www.mysite.com/digital-marketing/research/.. Thanks, Mike
Intermediate & Advanced SEO | | mike-gart0 -
Ajax website and SEO
Hi all, A client of mine has a website similar to Pintrest. All in Ajax/. So imagine an ajax-grid based animal lover site called domain.com. The domain has three different Categories Cats, Dogs, Mice. When you click on a category, the site doesn't handle the URL and doesn't change the domain So instead of the domain going from domain.com to domain.com/cats, it uses the Ajax script and just shows all the cat pins. and when you click on each pin/post it opens a page such as domain.com/Pin/123/PostTitle It doesn't reference the category. However a page domain.com/cats does exist and you can go there directly. Is this an SEO issue for not grouping all pins under a category? How does Google handle Ajax these days, it use to be real bad but if Pintrest is going so well i'm assuming times have changed? Any other things to be wary of for a grid based/ajax site? I am happy to pay for an hour or two for a more in depth audit/tips if you can feed back on the above. Fairly urgent. Thanks
Intermediate & Advanced SEO | | Profero1 -
Is my other domain making me not rank?
Hi there, We have a .co.uk website which was ranking well for a number of highly competitive keywords, however in February 2012 those rankings for those keywords suddenly dropped off Google all together and have never came back. A few possibilties to why this has happened: We launched a .ie website which has exactly the same content, could this be the reason for the drop? I have put in all the necessary steps in making sure Google ranks these geographically correct by using hreflang and making sure everything is setup properly in webmaster tools. Why I think it could be this: If I copy and paste the first few paragraphs of text from the pages in the .co.uk website that were ranked highly in Google.co.uk it's the .ie version that appears not the .co.uk version. Here is the webpages in question: http://www.avogel.co.uk/health/menopause/ http://www.avogel.ie/health/menopause/ Forgot to mention, the reason we have these two websites is due to different currency and legalities. Hope someone can help me out with this.
Intermediate & Advanced SEO | | Paul780 -
SEO Strategy for Microsite
I am working on a project to build a microsite of sorts that will represent a joint program between two large organizations with established web presences and strong domains. Each of the organizations has dedicated sections on their sites speaking to the program, but the leadership has decided the joint program deserves it's own site with dedicated content. The two larger sites perform very well for SEO, and I don't necessarily want to jeopordize thir rankings by delivering content that competes directly with them. So I am doing some keyword research to find some opportunities that will alllow me to use the new site to target keywords not yet being captialized by the larger sites. My grand scheme is to have the three sites targeting the broadest array of keywords possible, thus maximizing exposure and avoiding competition. Here is the rub: the content between the three sites will be different but very similar, and there will be plenty of cross linking, especially from the existing sites to the new site, as we grow the brand of the joint program. I'm curious to here some expert opinions on what the puitfalls of the strategy are and what are some of the things I can do to avoid falling in the black hat category - I recognize that proliferating sites around a single topic and cross linking them is black hat. The organizations simply want to build a brand around a joint program and we are striggling to do that without a dedicated website.
Intermediate & Advanced SEO | | AmyLB0 -
Joomla Plugins for SEO
Any input on which Joomla plugins could help us to facilitate the SEO on a client's site? Wordpress has some simple all-in-ones but we're not as familiar with Joomla and it doesn't look like that's the case. Thanks!
Intermediate & Advanced SEO | | MackenzieFogelson0 -
Is DOCTYPE important for SEO?
Hello fellow Mozzers. I am just having a brief look at a potential clients website before speaking to them tomorrow and whilst looking at the source I noticed that they don't appear to have a clear definition for their Doctype. All the have at the top of each page is I have to admit that Doctypes aren't my strong point but I know that they are normally slightly more descriptive than this. Can this have any effect on rankings? or is this just an issue for W3C validation? Thanks 🙂
Intermediate & Advanced SEO | | AdeLewis0 -
Multiple blogs for seo
I have signed up for some rather expensive lawyer directories that have very high domain PR, 's of 6 or 7 . Some of these allow you to make blog posts or articles on their site which should be good for SEO because of the high domain PR. I understand that if I do a lot of posts on one of these blogs with links back to my site, I should rapidly reach the point of diminishing returns because they are all coming from the same domain. Therefore, I plan to mix up my blo posts betwee several of these sites and also rewrite them and post them on my own site's blog. My question is this, if I post on any of these sites and I link back to internal pages of my site, and not to the home page, does this offset the "diminishing returns" factor? Paul
Intermediate & Advanced SEO | | diogenes0