Unusual URL appended to my domain
Im getting this at the end of my domain URL :
my domain.com/index.php?PHPSESSID=d3a5fe194be2fb377b2b7be82961c093;wwwRedirect
I was hoping for just : my domain. com
Is it something I'm doing wrong or setup on my host wrong? I do have SEO friendly URL's ticked. When clicking on a forum inside the main forum. the URL's show up correctly, this only happens on the main page.
My other 2 Elk forum URL's display correctly and there on the same host. So it must be something I've done on this one forum.
Re: Unusual URL appended to my domain
Reply #1 –
Thats the PHP session being injected for guests.
Re: Unusual URL appended to my domain
Reply #2 –
I too had the same problem and i blocked phpsessid in robots.txt to display only normal url
Re: Unusual URL appended to my domain
Reply #3 –
Oh, OK. I wonder why my other 2 Elk forums don't do that, and, what would I need to add to the robots.txt? Thanks ...
Re: Unusual URL appended to my domain
Reply #4 –
Which one is the youngest forum?
Re: Unusual URL appended to my domain
Reply #7 –
ElkArte already gives google all the info it needs to avoid this (i.e. a canonical URL). Google, though, takes a bit to digest that, usually in few... weeks? Months? I'm not sure, but sooner rather than later will start considering what the script tells it to do and will discard the URLs with the session ID.
Honestly, setting up a robot.txt will not really help indexing IMO, because the session is sent out anyway, and google will just stop reading the pages, making the whole process slower. But of course that's just my guess, not the opinion of a SEO guru.
Re: Unusual URL appended to my domain
Reply #8 –
Interesting! I did not know that. I'll just leave it alone then and wait on Googles spiders to quit eyeing my session ID's.
They did stop on my other two forums, so I'll wait it out.
Thanks Emanuele
Re: Unusual URL appended to my domain
Reply #11 –
I test elkarte.sch.my there but I am not given that any header's or robot's warning as yours. Only title, meta description and keywords advice given as it claims google and yahoo take those as important.
Re: Unusual URL appended to my domain
Reply #12 –
Well, I put a snippet of my URL (the last part where is said REDIRECT) in Google and it took me to a "repair tool" at the SMF forums. I took a chance that it would work on Elk and it did! SMF said to upload "repair_settings.php" and then go to it. I simply followed the instructions and it worked for the REDIRECT problem. Now it looks like PHPSESSID is gone too. Yes!
DONT USE THIS SMF REPAIR TOOL, NOW I CANT POST... LOG SHOWS 33 ERRORS, 2 CRITICAL
Re: Unusual URL appended to my domain
Reply #14 –
Your correct Emanuele, I actually remember that setting option when I was first installing the forum, I chose to use www. my domain. com If I'd known it would cause all this, I would have avoided the www.