New URLs has .html old one's doesn't.

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Get Involved
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
Rimesia
Registered User
Posts: 25
Joined: Sat Jul 12, 2014 4:31 pm

New URLs has .html old one's doesn't.

Post by Rimesia » Wed Sep 09, 2015 11:50 am

Hello,

Recently , I checked my webmaster tools account and I realized there is lots of crawl erros because of my old url type.

My old url type doesn't contains .html in the end but my new type does. For example it's like this ;

Old URL : www.phpbb.com/community/old-url-f858/
New URL : www.phpbb.com/community/new-url-f858.html

So , is there a htaccess code that redirect old one to new one ?
Or I should do that with a code in viewtopic.php ?

User avatar
KevC
Support Team Member
Support Team Member
Posts: 69043
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: New URLs has .html old one's doesn't.

Post by KevC » Wed Sep 09, 2015 12:54 pm

What's the address of the board?
phpBB URLs have never had html at the end.
-:|:- Support Request Template -:|:-
Image
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"

Rimesia
Registered User
Posts: 25
Joined: Sat Jul 12, 2014 4:31 pm

Re: New URLs has .html old one's doesn't.

Post by Rimesia » Wed Sep 09, 2015 1:33 pm

KevC wrote:What's the address of the board?
phpBB URLs have never had html at the end.
I did used phpbb-seo extension.

User avatar
jsebean
Registered User
Posts: 378
Joined: Sat Dec 12, 2009 3:20 pm
Location: Atlantic Canada
Name: Jonah
Contact:

Re: New URLs has .html old one's doesn't.

Post by jsebean » Wed Sep 09, 2015 1:35 pm

Rimesia wrote:Hello,

Recently , I checked my webmaster tools account and I realized there is lots of crawl erros because of my old url type.

My old url type doesn't contains .html in the end but my new type does. For example it's like this ;

Old URL : http://www.phpbb.com/community/old-url-f858/
New URL : http://www.phpbb.com/community/new-url-f858.html

So , is there a htaccess code that redirect old one to new one ?
Or I should do that with a code in viewtopic.php ?
Likely using SEO mod which is not official. Did you change some settings to change the URL? Check with the mod developers. If I were changing my URLs so radically like that though I would 301 redirect the old ones to the new ones. It could be done with htaccess.
-Jonah
:lol:

User avatar
KevC
Support Team Member
Support Team Member
Posts: 69043
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: New URLs has .html old one's doesn't.

Post by KevC » Wed Sep 09, 2015 1:37 pm

You would need to ask at phpbb-seo.com
-:|:- Support Request Template -:|:-
Image
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"

Rimesia
Registered User
Posts: 25
Joined: Sat Jul 12, 2014 4:31 pm

Re: New URLs has .html old one's doesn't.

Post by Rimesia » Wed Sep 09, 2015 1:53 pm

jsebean wrote: Likely using SEO mod which is not official. Did you change some settings to change the URL? Check with the mod developers. If I were changing my URLs so radically like that though I would 301 redirect the old ones to the new ones. It could be done with htaccess.
There isn't any thing wrong with that mod just I lingered while I set up phpbb-seo mod config. While in that time google indexed couple of topics without ".html".

I'm just asking you guys how to redirect those topics to .html ones in .htaccess.

I can't ask phpbb-seo.com because they are dead for a while.

User avatar
KevC
Support Team Member
Support Team Member
Posts: 69043
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: New URLs has .html old one's doesn't.

Post by KevC » Wed Sep 09, 2015 2:00 pm

MODs are supported by their authors, not by us.
-:|:- Support Request Template -:|:-
Image
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"

User avatar
Lumpy Burgertushie
Registered User
Posts: 66268
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: New URLs has .html old one's doesn't.

Post by Lumpy Burgertushie » Wed Sep 09, 2015 3:52 pm

the best thing you can do is uninstall the seo MOD . it is not going to help you and will only cause problems like this.

google has no problem at all with the standard phpbb file names etc.


robert
I am going to be out of town and off line for a week . see ya when I get back.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

User avatar
jsebean
Registered User
Posts: 378
Joined: Sat Dec 12, 2009 3:20 pm
Location: Atlantic Canada
Name: Jonah
Contact:

Re: New URLs has .html old one's doesn't.

Post by jsebean » Wed Sep 09, 2015 4:42 pm

Lumpy Burgertushie wrote:the best thing you can do is uninstall the seo MOD . it is not going to help you and will only cause problems like this.

google has no problem at all with the standard phpbb file names etc.


robert

^^ this. You don't gain any "SEO" despite the name. It's a bloated mod as is, all you gain is the URLs and the "advantage" of being unable to upgrade to the latest phpBB version. JMHO though. There's a reason it's not in the moddb ;)
-Jonah
:lol:

Locked

Return to “[3.0.x] Support Forum”