Wednesday, May 23rd

Last update05:36:30 AM GMT

Font Size

Screen

Profile

Layout

Menu Style

Cpanel
Welcome, Guest
Username Password: Remember me

Redirect SEF URL to Domain Name alone in sh404SEF
(1 viewing) (1) Guest
Tips and tricks only - please put all other posts in another forum!
  • Page:
  • 1

TOPIC: Redirect SEF URL to Domain Name alone in sh404SEF

Redirect SEF URL to Domain Name alone in sh404SEF 1 year, 1 month ago #4053

  • RicRaftis
  • OFFLINE
  • Expert Boarder
  • Posts: 146
  • Karma: 5
This has been bothering me for a while now. I just launched a brand new site and note Google has indexed the wrong damn page. I've posted the issue on Anything Digital, but seeing how several of you probably use sh404SEF, you may well be interested in the situation.

Here's the post on their Forum...

I am using the K2 CCK extension, but I doubt this would make much difference. I have only noticed this since doing more SEO on sites and using Market Samurai to track rankings, but would imagine it has been an issue for some time.

I always set up a category of "front page" for the content of the front page. sh404SEF is creating a SEF URL of domainname.com.au/front-page/title-of-front-page. I don't use page extensions such as html or php in my setup. I am finding that Google is indexing the SEF URL instead of the domain name itself. I cannot find a way of deleting the SEF URL so that any calls on that URL are redirected to the domain name itself.

I have tried adding a redirect to cPanel, but the SEF URL still shows in the URL bar. I have also tried adding a manual Redirect 301 to the .htaccess file but it seems that sh404SEF overrides these efforts and the SEF URL still displays. The result is that Google et al would think that there is duplicate content on the site with what displays with just the domain name and what displays with the SEF URL.

Your advice on how to permanently fix this on all sites would be appreciated.
Now Retired but still interested...
Follow me on Twitter

Re: Redirect SEF URL to Domain Name alone in sh404SEF 1 year, 1 month ago #4066

  • Laurie
  • OFFLINE
  • Expert Boarder
  • Posts: 130
  • Karma: 3
Would you be using Joomla 1.6 and Xmap?
On the way to being a basic Joomla user.
www.australianexplorers.com.au/

Re: Redirect SEF URL to Domain Name alone in sh404SEF 1 year, 1 month ago #4067

  • RicRaftis
  • OFFLINE
  • Expert Boarder
  • Posts: 146
  • Karma: 5
No, I haven't migrated to 1.6 yet. And I seem to be having great difficulty in explaining the problem of duplicate content to the global mod on the Anything Digital Forum....

The debate continues!

dev.anything-digital.com/Forum/sh404SEF/...-Domain-Name-alone./
Now Retired but still interested...
Follow me on Twitter

Re: Redirect SEF URL to Domain Name alone in sh404SEF 1 year, 1 month ago #4068

  • Laurie
  • OFFLINE
  • Expert Boarder
  • Posts: 130
  • Karma: 3
Well Mate, I dunno if my experience and solution will be of help, but here goes:

I have a Joomla 1.6 site (still building) with Kunena and Xmap.

I had quite a bit of trouble understanding how to achieve the link in the main menu to the Kunena forum which has made the problem much worse, but you won't have had that problem.

There is a new version of Xmap for Joomla 1.6. I first had Beta2 followed by Beta3. They had a bug (well several bugs) that have been fixed in RC1, released a few days ago. Since installing the latest version of Xmap I've got on top of my troubles.

Xmap was giving all sorts of funny things in both sitemaps (xml and html). I thought it was something I had done wrong so played around with the menu type: Featured Article, Single Article, Category Blog, Category List with it's own nav. What a mess!

When I installed the RC1 Xmap, the sitemaps came right, I set up the menus as they should be and it all came right.

So I'm suggesting that you look at your menu types. I'm thinking it's not a SH404 problem. I don't have SH404 but was having the same problem.

domainDOTcom.au/component/content/article/14-bill-blogs-category/8-bill-trys-again
domainDOTcom.au/13-site-stuff/front-page
domainDOTcom.au/front-page

So I have a site with about 23 pages and 237 URLs indexed in Google (so they tell me). I'm working through the mess with the URL removal tool. I remove 30 or 40 URLs but the number still stays in the 230s so maybe there are a thousand URLs actually indexed.

Anyway, there it is for what it's worth.
On the way to being a basic Joomla user.
www.australianexplorers.com.au/

Re: Redirect SEF URL to Domain Name alone in sh404SEF 1 year, 1 month ago #4069

  • RicRaftis
  • OFFLINE
  • Expert Boarder
  • Posts: 146
  • Karma: 5
Thanks for that Laurie. Interesting! It is not uncommon to find that Google has indexed far more pages than what your site holds and certainly sh404 may have something to do with it.

If you have sh404 set up to return category and title as URL, you will find a URL for the category alone in your list. But if you look at the number of hits on that page you will generally see that it is none. In that case I don't worry about it too much. But in reality you are right. If Google et al has far more pages indexed than what you have in your site, then you will no doubt have URLs indexed that are returning duplicate content.

Unfortunately I haven't heard further from Anything Digital since I told the respondent they didn't "get it". Perhaps they know a lot about SEFs and not that much about SEO. I sincerely hope that is not the case and someone will answer my post.
Now Retired but still interested...
Follow me on Twitter

Re: Redirect SEF URL to Domain Name alone in sh404SEF 1 year, 1 month ago #4072

  • RicRaftis
  • OFFLINE
  • Expert Boarder
  • Posts: 146
  • Karma: 5
Aha!! Got some information via Twitter from Joel Krigsman in Melbourne who suggested I put the Redirect 301 in the first line of my .htaccess file to redirect the SEF URL to the primary domain. I had it at the bottom of my .htaccess file. It worked!!!!! I now have the sh404SEF URL for the home page being redirected to the primary URL instead of the SEF URL. Now Google will index the domain as the home page...
Now Retired but still interested...
Follow me on Twitter

Re: Redirect SEF URL to Domain Name alone in sh404SEF 1 year ago #4169

  • RicRaftis
  • OFFLINE
  • Expert Boarder
  • Posts: 146
  • Karma: 5
Forgot to post the closing results to this post.

With sh404SEF, anything that points to the home page needs to be added as an alias in Home Page Meta.

So if you set up a category (we'll ignore Sections now with 1.6 and K2) of Front Page, and then have an individual item on that front page entitled "Welcome To Our Site" (I hope you don't!) then you would have three URLs that point to the home page of the site.

yourdomain.com.au
yourdomain.com.au/front-page
yourdomain.com.au/front-page/welcome-to-our-site (you may have file extensions after these depending on setup)

You need to add the last two as aliases in your Home Page Meta and then they will be redirected to the domain name itself and Google et al won't think you have duplicate content on the site.

Cheers,
Now Retired but still interested...
Follow me on Twitter
  • Page:
  • 1
Moderators: austega
Time to create page: 0.51 seconds
You are here: Forum