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 rank down 35%
So I recently switched from an Opencart website to a Magento 2 website and my rank has dropped by 35% two weeks later, this is bad news. My old Magento website was 5 years old and was in desperate need of an upgrade, hence the Magento 2 site. I realised today that the canonical URLs on my stores were set to the individual stores as opposed to one store, thus I expect resulting in duplicate content issues (even though Google Webmaster Tools didn't show it). I'm just wondering if anyone else can see something I may be missing? My sites are: thespacecollective.com (primary) thespacecollective.com/us/ (canonical to primary) Thank you!
Intermediate & Advanced SEO | | moon-boots0 -
Worldpress multisite for SEO
hello, guys, at the moment we have 3 websites, basically, the websites have the same content and appearance. we got UK website, New Zealand web site and USA website for the different business purpose. I have some questions about multisite for SEO, with similar content, will it harm website ranking? if it is bad, what should we do to deal with multisite? thank you
Intermediate & Advanced SEO | | kelvinbongcn850 -
Pagination & SEO
Hi We have automatically created brand pages based on which brand they have in their attributes. At the moment, developers have restricted the ability to properly optimise these for SEO, but I also wanted to look at how we should handle pagination. Example: http://www.key.co.uk/en/key/brand/manutan?page=1 http://www.key.co.uk/en/key/brand/manutan?page=2 http://www.key.co.uk/en/key/brand/manutan?page=3 Should we do any of the following - which I've found in an article: Put no follow on all links located on pagination pages Should we no index these pages as they are wasting crawl budget? - Don’t show links to page 2, 3, 4, 5… 10, 11, 12… at the end of your content but only a link to the next and previous pages so that you won’t dilute your page authority. Or does anyone else have any tips on how to handle these pages? Thank you!
Intermediate & Advanced SEO | | BeckyKey0 -
Merging Pages and SEO
Hi, We are redesigning our website the following way: Before: Page A with Content A, Page B with Content B, Page C with Content C, etc
Intermediate & Advanced SEO | | viatrading1
e.g. one page for each Customer Returns, Overstocks, Master Case, etc
Now: Page D with content A + B + C etc.
e.g. one long page containing all Product Conditions, one after the other So we are merging multiples pages into one.
What is the best way to do so, so we don't lose traffic? (or we lose the minimum possible) e.g. should we 301 Redirect A/B/C to D...?
Is it likely that we lose significant traffic with this change? Thank you,0 -
SEO - is it site or page
Hi When we're talking about SEO does the search engine only look at the whole site in general or do they look at the individual page when we're talking about SERP? So if you have a keyword "my search term" Does the search engine look at the site first or the page with the term on then rank you or is it the page then the site.
Intermediate & Advanced SEO | | Cocoonfxmedia0 -
Canonical Issue with urls
I saw some urls of my site showing duplicate page content, duplicate page title issues on crawl reports. So I have set canonical url for every urls , that has dupicate content / page title. But still SeoMoz crawl test is showing issue. I am giving here one url with issue. The below given urls shown duplicate content and duplicate page title with some other urls all are given below. Checked URL http://www.cyrusrugs.com/bridge-traditional-area-rug-item-7635 dup page content http://www.cyrusrugs.com/bridge-traditional-area-rug-item-7622&category_id=270&colors=Black_Tones&click=colors&ci=1
Intermediate & Advanced SEO | | trixmediainc
http://www.cyrusrugs.com/bridge-traditional-area-rug-item-7622 dup page Title http://www.cyrusrugs.com/bridge-traditional-area-rug-item-7636&category_id=270&sizes=12x15,12x18&click=sizes
http://www.cyrusrugs.com/bridge-traditional-area-rug-item-7636
http://www.cyrusrugs.com/bridge-traditional-area-rug-item-7622&category_id=270&colors=Black_Tones&click=colors&ci=1
http://www.cyrusrugs.com/bridge-traditional-area-rug-item-7622 But I have set canonical url for all these urls already , that is :- http://www.cyrusrugs.com/bridge-traditional-area-rug-item-7622 This should actually solve the problem right ? Search engine should identify the canonical url as original url and only should consider that. Thanks0 -
Suggestions for a SEO Review
I think it would be beneficial to have a third party seo review of the network of sites my team and I manage and was wondering if any of you had suggestions for what sort of tests should be done or that we should expect to see done during one of these reviews. We are a small team who has varying seo experience and have been working hard to make improvements to our sites in the past year. Most of our sites have been completely overhauled in the last 12-16 months and seo work that had not been done in the past has been setup, along with some corrections that may have been harming seo. We believe we are on the right track and have learned a good amount about seo in that time, but it would be nice to have some "expert" feedback outside of our office to get a clearer picture on anything we may be missing or some suggested improvements. A sort of double check on the work we have done.
Intermediate & Advanced SEO | | unikey0 -
URL for offline use.
Hi there, We currently have a url www.example.com/health/back-pain/ We are wanting to promote this page on our product packaging however making the URL simpler www.example.com/back-pain/ is it just a case of using a 301? are there any issues here? Thanks for any feedback
Intermediate & Advanced SEO | | Paul780