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 suggestions for a directory
Hi all, I am new to SEO. I work for a ratings and review website, like TripAdvisor and LinkedIn. How would one go about setting up SEO strategy for national directories that have local suggested pages? What can be a good practice. For example, Tripadvisor has many different restaurants across the UK. What would they do to improve their SEO? How do they target correct links? How do they go about building their Moz Score? Would really appreciate your thoughts and suggestions. Thanks!
Intermediate & Advanced SEO | | Eric_S
Eric0 -
Multi URL treated as one?
I had previous asked this question, where the issue turned out to be that I didn't have all the URLs in Google Search console. Whoops! So I have added 4 properties that are really all the same property: https:// https://www http:// http://www I have added all of these. This has raised a few more questions: Can I get Google Search Console to treat these (and even group these together) to show as one property? Right now they are all listed separately. I know in Site Settings you can set a Preferred Site. Even so, they show as separate sites with data separately. Can I merge these? What about Moz? Should I do something similar to see traffic for each of these in Moz? It looks like we are missing a ton of info. Does Moz get this from GSC automatically? What about sitemaps? Can I fix this in sitemaps? Do I need separate sitemaps for each property?
Intermediate & Advanced SEO | | TapGoods0 -
Negative SEO + Disavow
My site is very new (~1 years old), but due to good PR we have gotten some decent links and are already ranking for a key term. This may be why someone decided to start a negative SEO attack on us. We've had less than 200 linking domains up until 2 weeks ago, but since then we have been getting 100+ new domains /day with anchor texts that are either targeted to that key term or are from porn websites. I've gone through the links to get ready and submit a disavow... but should I do it? My rankings/site traffic has not been affected yet. Reasons for my hesitations: 1. Google always warns against using the disavow, and says "you shouldn't have to use it if you are a normal website." (sensing 'guilty-until-proven') 2. Some say Google is only trying to get the data to see if there are any patterns within the linking sites. I don't want the site owners to get hurt, since the villain is someone else using xrumer to put spammy comments on their site. What would you do?
Intermediate & Advanced SEO | | ALLee0 -
Frames and SEO
In the old days frames were a problem because they could end up being orphaned pages that get indexed and appear in the SERPS but had to navigation so they were useless. Are frames still a problem with Google and if so what are the suggested solutions?
Intermediate & Advanced SEO | | siteoptimized0 -
Seo for mobile and apps
I have a client with a website who's URL is a very common name (most people say this phrase daily). My questions are: How would you best SEO for this site given the common nature of their URL They want to move to mobile and are wondering if their mobile site needs different SEO then their main page Is there a way to SEO apps?
Intermediate & Advanced SEO | | StreetwiseReports0 -
SEO vs 301
I have a website about "Download of games" and im planning open one about "games online" i know that "games online" its super hard to get good ranks, soo im thinking and do a 301 from my website of "download games" to my new website, do you think that is a good strategy ?
Intermediate & Advanced SEO | | nafera21 -
E-Commerce SEO
Dear SeoMoz fans, I'm really glad to be a part of the community. Just have a quick question. I run a marketplace similar to eBay where users sell the products. I would like some suggestions on how to effectively proceed with SEO for an ecommerce marketplace of this type. Should I be proceed developing product review or product comparison landing pages and build links towards them as often suggested or should I consider alternative marketing methods? Looking forward to your replies.
Intermediate & Advanced SEO | | buzzmartseo0 -
SEO Strategy for URL Change
I'm working with a company who will likely have to change their URL because of a trademark dispute. They will be able to maintain the new URL for some period but will soon need to drop the existing URL all together. Aside from the usual keyword considerations when choosing a URL, are there any SEO strategies I should consider as we execute this change?
Intermediate & Advanced SEO | | Jon_KS0