URL rewrite question
-
I have adjusted a setting in my CMS and the URL's have changed from
http://www.ensorbuilding.com/section.php/43/1/firestone-epdm-rubbercover-flat-roofing
to
http://www.ensorbuilding.com/section/43/1/firestone-epdm-rubbercover-flat-roofing
This has changed all the URL's on the website not just this example.
As you can see , the .php extension has now been removed but people can still access the .php version of the page.
What I want is a site-wide 301 redirect but can not figure out how to implement it?
Any help is appreciated
Thanks
-
JShop
-
Glad to hear it helped. Sorry though, I am not sure how to fix that part. Hopefully Seth can help you out on that one.
-
What CMS are you using?
-
That has solved it thanks Jordan.
Is there anyway to completely remove the section/43/1/ ?
Each page on my website has a different number after section such as
http://www.ensorbuilding.com/section/52/1/chinese-roof-slates
http://www.ensorbuilding.com/section/76/1/granuflex-rubber-tiles
So anyway to change my URLs to http://www.ensorbuilding.com/chinese-roof-slates/ and http://www.ensorbuilding.com/granuflex-rubber-tiles ?
-
If your server supports .htacess files, this is what I use for redirecting one folder to another.
Redirect 301 /section.php/ http://www.ensorbuilding.com/section/
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
-
Canonical URL Change
Hi, I have a Product Page, say www.example.com/product-title/.
Technical SEO | | viatrading1
Canonical URL is www.example.com/product-title/ I want to change its URL to www.example.com/product-title-2/
Canonical URL is www.example.com/product-title-2/
Can't do 301 Redirect. Is SEO Juice passed from www.example.com/product-title/ to www.example.com/product-title-2/ ? Thanks,0 -
Just saw a competitor jump in rank by double digits, questioning my url structure choice now.
Currently I have for our big keyword oursite.com/big-keyword/ and clicking on a material type will be oursite.com/big-keyword/material-type/ Our competition has **theirsite.com/big-keyword/ **and when you click on their material type **theirsite.com/material-type-big-keyword/ ** The also have 20 some pages, while we have around 652 as a eCommerce site as well, not sure why they jumped so high in rankings, while their backlink structure is so small still and they have a DA half of ours. I'm in the middle of a site redesign and very close to restructuring the urls the way they have it, since it really seems to have worked well. How do you feel about that?
Technical SEO | | Deacyde0 -
Magento SEO question
Hello Moz Community, I am wondering if these magento settings are correct for seo. www.domain.com 301 > www.domain.com/main-language www.domain.com/main-language/main-keyword (index & follow) www.domain.com/main-language/main-keyword/shopby/size-m (index & follow & canonicalized to www.domain.com/main-language/main-keyword) All layered navigation links are no-follow
Technical SEO | | mhenze0 -
Site Migration Questions
Hello everyone, We are in the process of going from a .net to a .com and we have also done a complete site redesign as well as refreshed all of our content. I know it is generally ideal to not do all of this at once but I have no control over that part. I have a few questions and would like any input on avoiding losing rankings and traffic. One of my first concerns is that we have done away with some of our higher ranking pages and combined them into one parallax scrolling page. Basically, instead of having a product page for each product they are now all on one page. This of course has made some difficulty because search terms we were using for the individual pages no longer apply. My next concern is that we are adding keywords to the ends of our urls in attempt to raise rankings. So an example: website.com/product/product-name/keywords-for-product if a customer deletes keywords-for-product they end up being re-directed back to the page again. Since the keywords cannot be removed is a redirect the best way to handle this? Would a canonical tag be better? I'm trying to avoid duplicate content since my request to remove the keywords in urls was denied. Also when a customer deletes everything but website.com/product/ it goes to the home page and the url turns to website.com/product/#. Will those pages with # at the end be indexed separately or does google ignore that? Lastly, how can I determine what kind of loss in traffic we are looking at upon launch? I know some is to be expected but I want to avoid it as much as I can so any advice for this migration would be greatly appreciated.
Technical SEO | | Sika220 -
Updating content on URL or new URL
High Mozzers, We are an event organisation. Every year we produce like 350 events. All the events are on our website. A lot of these events are held every year. So i have an URL like www.domainname.nl/eventname So what would you do. This URL has some inbound links, some social mentions and so on. SO if the event will be held again in 2013. Would it be better to update the content on this URL or create a new one. I would keep this URL and update it because of the linkvalue and it is allready indexed and ranking for the desired keyword for that event. Cheers, Ruud
Technical SEO | | RuudHeijnen0 -
Schema address question
I have a website that has a contact us page... of course and on that page I have schema info pointing out the address and a few other points of data. I also have the address to the business location in the footer on every page. Would it be wiser to point to the schema address data on the footer instead of the contact page? And are there any best practices when it comes down to how many times you can point to the same data, and on which pages? So should I have schema address on the contact us page and the footer of that page, that would be twice, which could seem spammy. Haven't been able to find much best practices info on schema out there. Thanks, Cy
Technical SEO | | Nola5040 -
Mobile Domain \ URL Structure SEO questions
Hi We are making a mobile site for our site for one of our partner sites and I would like to know which one of the following URL structure you recommand as far as SEO concerned? mobile.mywebsite.com or mywebsite.mobi Also, should I worry about duplicated content on my mobile site?
Technical SEO | | CookingCom0 -
URL Rewrite
Using the .htaccess file how do I rewrite a url from www.exampleurl.com/index.php?page=example to www.exampleurl.com/example removing index.php?page= Any help is muchly appreciated
Technical SEO | | CraigAddyman0