/%category%/%postname%/ Permalink structure
-
Mostly everyone seems to agree that /%category%/%postname%/ is the best blog structure.
I'm thinking of changing my structure to that because now it's structured by date which is bad. But almost all of my posts are assigned to more than one category. Won't this create duplicate pages?
-
Thanks!
-
Did you find any reason of site declining?
Send me an url, I will take a look
-
Yes, our positions are gradually declining, and I'm trying everything I can, no matter how seemingly small, until I can figure out why.
-
Hi again
I think that depends on what is the position of your site now. If it's good there is no pressure to do changes in other case you can take a risk. In my opinion good structure of content help in SEO an if I were in your situation i would take a risk of change.
-
Another question is which would be worse for SEO: leaving it the way it is, categorized by month and date, or changing the whole structure when I have dozens of posts?
-
Thanks for the input. The reason I'm worried about duplicate pages is because what i temporarily switched everything to category/postname, I could access pages many different ways.
category1/postname/page
category2/postname/page
anothercategory/postname/page
Were all the same page. Duplicate content?
-
I agree with Marek. However, there's value in having the Category in there specially if your categories are keyword rich. Don't worry about duplicate pages. One post will only have one default category in the Slug (Most of the times, its the 1st one you selected in Wordpress). I also sometimes like to use /%category%/%postname%.html or /%category%/%postname%.php which gives the effect of pages under a folder, vs folder inside a folder. Just my 2c.
-
Hi Marisa,
I'm using /%postname% and in my opinion it is a best structure ... but ... in that kind of structure is important to care about slug and to prevent creation of duplicated titles.
/the-best-solution is a good slug
//the-best-solution-2 is not a good slug
I don't have duplicated pages cos WordPress has mechanism which check the slug in real time when you creating a post.
I think that /%postname% is the most friendly link structure.
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
-
Ranking Sub Categories on Ecommerce Site
Hi, I haven't tested this yet, so before I do I wanted to see if anyone had some experience with this. I have lower level categories I want to rank for SEO for example: Say I want to rank 'Standard Metal Lockers' - with the way our site is set up, I have to work within a classification, which isn't always easy. So it would be categorised as follows: Cupboards & Lockers > Lockers > Standard Lockers > Standard Metal Lockers The URL structure would remain /standard-metal-lockers & I would link this from the 'Lockers' page. Is this too deep in the site structure to rank? I think if it's linked properly & promoted it will be fine, but I'd like to see if anyone else has had this issue. Becky
Intermediate & Advanced SEO | | BeckyKey0 -
Two Domains, Same Products/Content
We're an e-commerce company with two domains. One is our original company name/domain, one is a newer top-level domain. The older domain doesn't receive as much traffic but is still searched and used by long-time customers who are loyal to that brand, who we don't want to alienate. The sites are both identical in products and content, which creates a duplicate content issue. I have come across two options so far: 1. a 301 redirect from the old domain to the new one. 2. Optimize the content on the newer domain (the strongest of the two) and leave the older domain content as is. Does anyone know of a solution better than the two I listed above or have experience resolving a similar problem in the past?
Intermediate & Advanced SEO | | ilewis0 -
How to 301 Redirect /page.php to /page, after a RewriteRule has already made /page.php accessible by /page (Getting errors)
A site has its URLs with php extensions, like this: example.com/page.php I used the following rewrite to remove the extension so that the page can now be accessed from example.com/page RewriteCond %{REQUEST_FILENAME}.php -f
Intermediate & Advanced SEO | | rcseo
RewriteRule ^(.*)$ $1.php [L] It works great. I can access it via the example.com/page URL. However, the problem is the page can still be accessed from example.com/page.php. Because I have external links going to the page, I want to 301 redirect example.com/page.php to example.com/page. I've tried this a couple of ways but I get redirect loops or 500 internal server errors. Is there a way to have both? Remove the extension and 301 the .php to no extension? By the way, if it matters, page.php is an actual file in the root directory (not created through another rewrite or URI routing). I'm hoping I can do this, and not just throw a example.com/page canonical tag on the page. Thanks!0 -
Awesome Ecommerce category pages
Hi! We are in the process of overhauling our websites, and I am hoping that some of you can post URLs for websites that are ranking well and using lots of creative content to help rank their ecommerce category pages. You can post your own, or others that you admire.
Intermediate & Advanced SEO | | AMHC1 -
Ecommerce SEO URL Structure Questions
| I am in the process of developing a new Magento ecommerce store. Take for instance this website is in the apparel industry and i have the following main categories. Clothing Shoes Accessories Beauty Sub categories for clothing would be: Dresses Pants jeans Tops Products would be: Kelly Maxi dresses What is the best SEO Structure for this? Main categories obviously: www.example.com/clothing Sub Categories:
Intermediate & Advanced SEO | | WayneRooney
www.example.com/clothing/dresses Or www.example.com/dresses (Zappos seem to pursue the second type) Products:
www.example.com/clothing/dresses/kelly-maxi-dresses/ Or www.example.com/kelly-maxi-dresses ? Which one would be the best way to structure your site? Also what about filters that available in category pages? Say if i were to filter by color. what would be the best URL? I am sure canonical tag is needed here. New to Ecommerce SEO so i need some guidance! |0 -
Is there any importance in including http:// in the url?
I have seen some sites that always redirect to https and some sites that always redirect to http://, but lately I have seen sites that force the url to just the site. As in [sitename].com, no www. no http://. Does this affect SEO in anyway? Is it good or bad for other things? I was surprised when I saw it and don't really know what effect it has.
Intermediate & Advanced SEO | | MarloSchneider0 -
Changing a URL structure within a site
Im moving a page over from www.domain.com/page to www.domain/category/page currently www.domain.com/page is ranking in google. Would a 301 do the job? is there anything else needed to help keep SE positions?
Intermediate & Advanced SEO | | SEODinosaur0 -
Question about 301 redirect for trailing / ?
I am cleaning up a fairly large site. Some pages have a trailing slash on the end some don't. Some of the existing backlinks built used a trailing slash in the url and some didn't. We aren't concerned with picking a particular one but just want to get one set and stick to it from now on. I am wondering, would I clean this up within the same redirect in the htaccess file that takes care of the www and non www? example RewriteEngine On
Intermediate & Advanced SEO | | PEnterprises
RewriteBase /
RewriteCond %{HTTP_HOST} ^www.domain.com/ [NC]
RewriteRule ^(.*)$ http://domain.com$1 [L,R=301] I currently use that to redirect the www. to the non www as you can see. However here is what I was confused about. Would this code be enough to redirect ALL pages with a / to the ones without? or would I also need to add another code (so there is 2) to my htaccess like below? RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^domain.com/ [NC]
RewriteRule ^(.*)$ http://domain.com$1 [L,R=301] RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^www.domain.com/ [NC]
RewriteRule ^(.*)$ http://domain.com$1 [L,R=301] That way, now, even the non www pages with a trailing slash will redirect to the non www without the trailing slash. Hopefully you understand what I am getting at. I just want to redirect EVERYTHING to the non www WITHOUT a / Thank you Jake0