Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
Crazy long weird URLs... help
-
I have a HTML website, mysite1.com, and I placed a link on the home page to another one of my sites, mysite2.com
Today I checked the links to mysite2.com in Majestic and noticed 24 links coming from the mysite1.com instead of just one link.
The URLs from mysite1.com that are showing in Majestic are like this
mysite1.com,was inherited from a friend and I believe that it was originally built in Frontpage.
Can you tell me how I can get rid of these multiple links as I only want 1 showing from the home page
Thanks in advance
-
I would need to see this to give you any real feedback on it John but general rule of thumb is if Google looked at these links, would they see and understand the reasoning for the links to be there?
Andy
-
I see what you mean. Well the links from the home page sites are going from sites that are for information purposes only, then link to the service provider recommended by that website.
I wouldn't see anything wrong with this. There are 5 sites linking from the home page to my main site out of 120 backlinks. I presume that this doesnt look bad in Google's eyes
-
I can't really help you with the htaccess stuff John, but regarding links from the homepage to another external site, this has always been a questionable practice. Why would you want to direct someone to another site as soon as they got to your homepage? Google see this in a similar way.
However, if there is a very good reason for the link to appear there and if it formed part of a good sentence with accurate anchor text and wasn't trying to push people there just to get traffic up, then I can see no harm - bit hard to judge without seeing though.
Andy
-
Hi Andy,
Thanks for helping out.
Can you tell me why you think home page links are bad? I actually started a question about this last week but didnt get many replys. Do you think getting home page links a bad thing to do?
Ive done some digging and found that when I go to mysite1.com in majestic and look at Pages, its showing all the long URLs that I found pointing to mysite2.com
So I guess that at some point in its life, these pages have been indexed by Google.
These URLs all start with a ? i.e. mysite1.com/?561796
So I am guessing the best way to solve this is to make all URLs that start with a /? be redirected to the root.
Unfortunetly I have no idea how to write this in the htaccess file
-
First of all, be careful with off-site links from your homepage unless there is a very good reason for it. If there isn't, I would always no-follow it so Google doesn't see an unethical link.
With reagards what you are seeing in Majestic, when you hover over the link, what do you see? Is it just a normal HTML link or has it been completed another way?
Andy
-
Ok I have noticed that any URL with ? at the end shows the home page.
mysite1.com/? will show the home page
mysite1.com/?111 will show the home page
etc etc
So I guess I need to redirect anything with a ? to the home page using a 301.
Can someone tell me what the code will be to do that in the htaccess file?
-
Hi John
PM me if you like, I'll have a look for you. Promise not to repeat the domain name.
-
Hi,
Unfortunately I cant do that on a public forum.
But I can tell you all the URLs look like the one Ive posted, loads of numbers etc.
It isnt a dynamic site so these actual URLs are not live pages.
When you visit these URLs, they are just duplicates of the home page
Hope that helps a little
-
Hi John
Could you provide the address so we can look please. Would be making wild guesses else.
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
-
Help with facet URLs in Magento
Hi Guys, Wondering if I can get some technical help here... We have our site britishbraces.co.uk , built in Magento. As per eCommerce sites, we have paginated pages throughout. These have rel=next/prev implemented but not correctly ( as it is not in is it in ) - this fix is in process. Our canonicals are currently incorrect as far as I believe, as even when content is filtered, the canonical takes you back to the first page URL. For example, http://www.britishbraces.co.uk/braces/x-style.html?ajaxcatalog=true&brand=380&max=51.19&min=31.19 Canonical to... http://www.britishbraces.co.uk/braces/x-style.html Which I understand to be incorrect. As I want the coloured filtered pages to be indexed ( due to search volume for colour related queries ), but I don't want the price filtered pages to be indexed - I am unsure how to implement the solution? As I understand, because rel=next/prev implemented ( with no View All page ), the rel=canonical is not necessary as Google understands page 1 is the first page in the series. Therefore, once a user has filtered by colour, there should then be a canonical pointing to the coloured filter URL? ( e.g. /product/black ) But when a user filters by price, there should be noindex on those URLs ? Or can this be blocked in robots.txt prior? My head is a little confused here and I know we have an issue because our amount of indexed pages is increasing day by day but to no solution of the facet urls. Can anybody help - apologies in advance if I have confused the matter. Thanks
Intermediate & Advanced SEO | | HappyJackJr0 -
URL mapping for site migration
Hi all! I'm currently working on a migration for a large e-commerce site. The old one has around 2.5k urls, the new one 7.5k. I now need to sort out the redirects from one to the other. This is proving pretty tricky, as the URL structure has changed site wide. There doesn't seem to be any consistent rules either so using regex doesn't really work. By and large, the copy appears to be the same though. Does anybody know of a tool I can crawl the sites with that will export the crawled url and related copy into a spreadsheet? That way I can crawl both sites and compare the copy to match them up. Thanks!
Intermediate & Advanced SEO | | Blink-SEO0 -
Does having a ? on the end of your URL affect your SEO?
I have some redirects that were done with at "?" at the end of the URL to include google coding (i.e. you click on an adwords link and the google coding follows the redirected link). When there is not coding to follow the link just appears as "filename.html?". Will that affect us negatively SEO-wise? Thank you.
Intermediate & Advanced SEO | | RoxBrock1 -
What is the best URL structure for categories?
A client's site currently uses the URL structure: www.website.com/�tegory%/%postname% Which I think is optimised fairly well, as the categories are keywords being targeted. However, as they are using a category hierarchy, often times the URL looks like this: www.website.com/parent-category/child-category/some-post-titles-are-quite-long-as-they-are-long-tail-terms Best practise often dictates (such as point 3 in this Moz article) that shorter URLs are better for several reasons. So I'm left with a few options: Remove the category from the URL Flatten the category hierarchy Shorten post titles two a word or two - which would hurt my long tail search term traffic. Leave it as it is What do we think is the best route to take? Thanks in advance!
Intermediate & Advanced SEO | | underscorelive0 -
Help! My Domain Authority keeps dropping! What do I do?
Hey! I just noticed my Domain Authority keeps dropping? What's happening? What do I do to get it better. I'm scared and dont know the next move to make to get this site better. Help please! Thanks! http://www.moondoggieinc.com Kristy O
Intermediate & Advanced SEO | | KristyO1 -
How long should a domain redirect take?
Hi, I know that this is a 'How long is a piece of string?' type question but at what point should the ranking value of site A pass over to site B following a domain 301 redirect? I have shifted a domain over to a new URL, same hosting server, same IP address. I haven't made any URL changes or any content changes other than to change the site logo to match the new domain name. Domain B is basically an exact clone of domain A. I have redirected Domain A to domain B using the following line at the top of the .htaccess file:- Redirect 301 / http://www.newdomain.com/ I have submitted a sitemap for the new domain via google webmaster tools. It looks like the original domain as been completely indexed by google following the redirect as all rankings have been dropped from the results and there are no results for a site:olddomain.com search. Surely the rankings should have switched over at this point? Any help would be much appreciated.
Intermediate & Advanced SEO | | AdeLewis
Ade.0 -
Brackets in a URL String
Was talking with a friend about this the other day. Do Brackets and or Braces in a URL string impact SEO? (I know short human readable etc... but for the sake of conversation has anyone relaised any impacts of these particular Characters in a URL?
Intermediate & Advanced SEO | | AU-SEO0 -
Should I Use City Name in URL?
Having a website designed for a car dealership and deciding what attributes to use in the URL. Should I include the city name in the URL? Or does that help for SEO purposes? Other ideas of what to research or try are appreciated too. Thanks 🙂
Intermediate & Advanced SEO | | kylesuss0