Advice on strange URL problem
-
I'm considering doing some pro bono work for a local non-profit and upon initial review they have a number of serious issues but there is one in particular I'd like to check my thinking on.
The developer who set up the site some years ago implemented a javascript redirect on their root domain so that it redirects to:
This is wrong for all kinds of reasons and I want to recommend eliminating this redirect and getting rid of the 'wordpress' part of the path altogether. However, the site is quite established with good PR and they would take a hit by changing the path.
I'd do 301 redirects to the new URLs that would not have 'wordpress' in the path in addition to other remediation.
My question - is my thinking here good? It's worth it, right? The other option is just get rid of the weird redirect and keep 'wordpress' in the path but this seems unacceptable to me.
Any opinions?
-
Thanks, Andrew! I had done this for handfuls of pages at a time, but not an entire site and it had me concerned. I appreciate the advice!
-
Hi John,
Agree - sounds very messy!
With regard to any 'ranking drop' I really wouldn't worry about this either. I had the same concerns a few weeks ago when I redirected my entire website (an old keyword loaded domain to acornseo.com).
I did a quick audit of the site using Screaming Frog to get all the links, then 301'd each one individually to the new location. The process was very easy, the time it takes depends on the number of pages your website has.
Looking at the Google results after I made the change, I could see my new links appearing in the results, just below the old ones. After a few days the old ones had disappeared and the new acornseo.com links replaced them completely - in effect I had zero ranking downtime, and haven't seen any loss of position since the change over.
Hope that helps.
Cheers,
Andrew
-
OK, thanks for your advice.
-
I'm saying keep your URLs. You can move them but there's a short-term penalty for doing so. Proper 301s will keep it from being too bad but, as my mother likes to say, if it ain't broke, don't fix it!
-
Thanks Highland. Are you saying you think keeping the 'wordpress' in the path is the way to go or would you get rid of it? Not sure what you mean when you say 'original URLs'.
-
Thanks, Andrew. Actually the entire site is in the wordpress folder and they don't use the blogging functionality. So if you visit the site with javascript disabled you get a blank page. The home page is actually http://domain.com/wordpress but the root domain (without the 'wordpress' attached) returns a 200 response code. It essentially just contains a javascript redirect. What a mess.
So, I was going to do exactly as you suggest but wanted to make sure it would be worth the hit in the search results and I wasn't just responding emotionally to the poor technical and aesthetic aspects of the set up.
-
I agree that keeping the original URLs is the better way to go (you'll lose some SEO momentum changing them). I also agree that a 301 from the root to the wordpress directory would be superior to a JS redirect. Googlebot is probably smart enough to figure that one out (especially if the site is indexed) but there's no reason not to do this and make sure.
-
Hi John,
Using the 'wordpress' name isn't ideal, and I would agree you could make it more user-friendly. Depending on what is actually in the subfolder, a standard 301 redirect from 'wordpress' to 'blog' should do the trick.
However, you could also consider moving the 'wordpress' folder to the root domain and getting rid of the javascript redirect. Then you have the website on the root. Moving Wordpress instances from one directory to another is relatively painless - get back to me if you need advice on that front.
Hope that helps,
Cheers
Andrew
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
-
Sitemaps, 404s and URL structure
Hi All! I recently acquired a client and noticed in Search Console over 1300 404s, all starting around late October this year. What's strange is that I can access the pages that are 404ing by cutting and pasting the URLs and via inbound links from other sites. I suspect the issue might have something to do with Sitemaps. The site has 5 Sitemaps, generated by the Yoast plugin. 2 Sitemaps seem to be working (pages being indexed), 3 Sitemaps seem to be not working (pages have warnings, errors and nothing shows up as indexed). The pages listed in the 3 broken sitemaps seem to be the same pages giving 404 errors. I'm wondering if auto URL structure might be the culprit here. For example, one sitemap that works is called newsletter-sitemap.xml, all the URLs listed follow the structure: http://example.com/newsletter/post-title Whereas, one sitemap that doesn't work is called culture-event-sitemap.xml. Here the URLs underneath follow the structure http://example.com/post-title. Could it be that these URLs are not being crawled / found because they don't follow the structure http://example.com/culture-event/post-title? If not, any other ideas? Thank you for reading this long post and helping out a relatively new SEO!
Technical SEO | | DanielFeldman0 -
Redirect_to in URLs?
I've never seen this before. I'm assuming that it's not SEO friendly and that these should be 301s or 302s instead? http://ksa-beta.motory.com/ar/login/?redirect_to=http://ksa-beta.motory.com/ar/cars-for-sale-search/results/central/riyadh/ford/explorer/2010/ford-explorer-2010-1038353 http://ksa-beta.motory.com/ar/login/?redirect_to=http://ksa-beta.motory.com/ar/account/my-saved-searches/
Technical SEO | | KatherineWatierOng0 -
Parked former company's url on top of my existing url and that URL is showing in SERPs for my top keywords
I have the URL from my former company parked on top of my existing URL. My top keywords are showing up with the old URL attached to the metadsecription of my existing URL. It was supposed to be 301 redirected instead of parked but my web developer insists this was the right way to do it and it will work itself out after google indexes the old URL out of existence. Are there any other options?
Technical SEO | | Joelabarre0 -
Is there a tool to find a strange link
hi, i have used screaming frog seo and it has brought up a link to another site we run but this is a strange link the link is http://www.in2town.co.uk/www.clairehegarty.co.uk/virtual-gastric-band-with-hypnotherapy i have gone through the site on the home page as this is where it is and i cannot find, so i was just wondering if there was a tool that i can use to pin point where it is. any help would be great
Technical SEO | | ClaireH-1848860 -
Friendly URLS (SEO urls)
Hello, I own a eCommerce site with more than 5k of products, urls of products are : www.site.com/index.php?route=product/product&path=61_87&product_id=266 Im thinking about make it friend to seo site.com/category/product-brand Here is my question,will I lost ranks for make that change? Its very important to me know it Thank you very much!
Technical SEO | | matiw0 -
301 on certain url string
I have a few thousand old urls with the string /content/ in them and are looking for a way to 301 batch redirect them. So for all the urls that contain the word 'content' I would like to redirect to 1 specific page. I have tried the methods below without success. Regular 301's are working fine but this particular method is not working for me. I am running a Joomla site but I don't imagine that would have any impact. Any suggestions would be greatly appreciated. Redirect 301 ^content/.*$ http://www.mysite.com Redirect 301 ^content/ http://www.mysite.com
Technical SEO | | omega0 -
Block url with dynamic text in
I've just ran a report and I have a lot of duplicate page titles, most of which seem to be the review page, I use Magento and my normal url would be something like blah-blahtext.html but the review url is something like blah-blahtext/reviews/category/categoryname So I want to block the /reviews url bit as no one ever leaves reviews and it's not something I will be using in the future. Also I have a dynamic navigation which creates urls that look like product-name.html?size=2&colour=14 these are also creating duplicate urls, anyway to fix this? While I'm asking, anyone any tips for Magento?
Technical SEO | | Beermonster0 -
How much of a hit to changing urls?
Hi, We have a few pages that from an SEO perspective have poor URLs. We are planning on changing them (and 301 redirecting) the old page to the new page. I heard in the past, this can temporarily negatively impact your SERP rank etc. Since the old URLs are bad, even if there is a temporary negative hit, changing them in the long run it is better, but curious if anyone has any experience on what to expect.
Technical SEO | | NicB10