PDA

View Full Version : How to make .html extensions ?


SiteTalkZone
08-19-2013, 05:24 PM
Hello, i wanted to know how to make .html extensions to the threads in vBulletin?
my settings are -
mod rewrite is on in admin cp
RewriteRule ^threads/([0-9]+)-(.*)? showthread.php?t=$1.html - in the htaccess file
still not getting .html as extension end of thread link.
Suggestions ?

Zachery
08-19-2013, 05:28 PM
Its not worth it, It won't make anything better. I'd say, save your time and resources for something else, instead of messing with your current search results.s

SiteTalkZone
08-20-2013, 12:55 AM
Its not worth it, It won't make anything better. I'd say, save your time and resources for something else, instead of messing with your current search results.s

thanks but i still want to do it anyway
anyone ?

Zachery
08-20-2013, 03:44 AM
So you want to kill your search engine rankings, just to get .html after the .php?

tbworld
08-20-2013, 05:12 AM
Trying to help... but I have to agree with @Zachery. Maybe a clarification on why you want to go that route. You may have a very good reason for what you are trying to do -- that I have not thought of.

For myself it looks like I would be wasting my time explaining the process, because after you went through the trouble of doing it, you would soon revert back.

SiteTalkZone
08-21-2013, 07:43 AM
So you want to kill your search engine rankings, just to get .html after the .php?

Trying to help... but I have to agree with @Zachery. Maybe a clarification on why you want to go that route. You may have a very good reason for what you are trying to do -- that I have not thought of.

For myself it looks like I would be wasting my time explaining the process, because after you went through the trouble of doing it, you would soon revert back.

Yes I understand the risk and still want to do that, what would I do for making the html extension to the threads ? please help me here

Zachery
08-21-2013, 03:34 PM
Write tons of custom code to handle it, inside of the vBulletin software, then update your htaccess files for their mod rewrite rules.

SiteTalkZone
08-22-2013, 05:21 PM
Write tons of custom code to handle it, inside of the vBulletin software, then update your htaccess files for their mod rewrite rules.

can you please point me to step by step process ?

Zachery
08-22-2013, 06:13 PM
Sure,

Learn PHP
Make changes.

SiteTalkZone
08-25-2013, 03:54 AM
Sure,

Learn PHP
Make changes.

If I knew that would not come asking help in the official help and support forum

tbworld
08-25-2013, 05:17 AM
I am not trying to make you angry, I never want to make someone feel bad. Not my nature.

But vbulletin.org is the Official vBulletin "Modifications" Site. It is not the vbulletin "help and support" forum -- that is vbulletin.com. When you purchase vbulletin, you are paying for the licensing and support of the script not free help in making modifications. I am only stating this: because many people get confused about what vbulletin.org is.

On html extensions: I never replied to your question, because you never replied to mine. I asked you why you needed to have html as your extension?

------------------------------------------------------------------------------
Note to administrators of vbulletin.org
- if I am wrong here please correct my statement.
------------------------------------------------------------------------------

Zachery
08-26-2013, 02:01 PM
I'd suggest you start here: http://www.php.net and start learning php, if this is something you really want. People are unlikely to do this for you, as it serves no purpose and would be completely useless to everyone else.

SiteTalkZone
08-27-2013, 02:00 PM
I am not trying to make you angry, I never want to make someone feel bad. Not my nature.

But vbulletin.org is the Official vBulletin "Modifications" Site. It is not the vbulletin "help and support" forum -- that is vbulletin.com. When you purchase vbulletin, you are paying for the licensing and support of the script not free help in making modifications. I am only stating this: because many people get confused about what vbulletin.org is.

On html extensions: I never replied to your question, because you never replied to mine. I asked you why you needed to have html as your extension?

------------------------------------------------------------------------------
Note to administrators of vbulletin.org
- if I am wrong here please correct my statement.
------------------------------------------------------------------------------

Sorry I am rude, Its what i read somewhere gives best result with google, and my fav forum has same settings so wanted this badly.

ccf
02-25-2015, 02:42 PM
Hey I know this is an old post... but I had the same issue and this communuties responses are disappointing to say the least. The answer takes all of two seconds to give and yet no one gave it?

Here's the answer:

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)/([0-9]+\-.*)?\.html /$1/$2 [NC,L]


As for why you'd want to do this... if you have a lot of in-bound links pointing to *.html files you don't want to just invalidate those links. That'll kill SEO, bookmarks, etc.

cellarius
02-26-2015, 08:25 AM
Hey I know this is an old post... but I had the same issue and this communuties responses are disappointing to say the least.
See, we have all been waiting for a true genius to finally register.
The answer takes all of two seconds to give and yet no one gave it?
That is because the community thinks things through before answering. Now that you have provided the obvious and easy part, maybe you care to provide the other half of the answer, too? So now you can access pages with html extensions properly. Now all you have to do is teach vB to use html links internally. With your solution, all links in vB still don't have a .html extension.

Zachery
02-26-2015, 10:39 PM
As cellarius has mentioned, you wrote a mod_rewrite rule, but you didn't actually do any of the heavy lifting to make it actually work with the application.

John Lester
02-27-2015, 04:48 PM
Hey I know this is an old post... but I had the same issue and this communuties responses are disappointing to say the least. The answer takes all of two seconds to give and yet no one gave it?

Here's the answer:

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)/([0-9]+\-.*)?\.html /$1/$2 [NC,L]
As for why you'd want to do this... if you have a lot of in-bound links pointing to *.html files you don't want to just invalidate those links. That'll kill SEO, bookmarks, etc.

Not being an ass here, I have no idea why you would have in-bound links pointing to .html or .htm files :confused:

ccf
03-04-2015, 01:28 PM
Not being an ass here, I have no idea why you would have in-bound links pointing to .html or .htm files
The old version of vBulletin linked to .html files, adn our in-bound was built while we were using it.

squidsk
03-04-2015, 02:43 PM
Instead of trying to hack html into new versions of vb, why not just redirect the inbound html links to the appropriate php links in the current version?

thetechgenius
03-05-2015, 04:10 PM
All you have to do is install DBSEO and configure it. It will allow you to have HTML extensions instead of PHP and a lot of other things. And you dont need any coding skills to install it.

ccf
03-12-2015, 01:43 PM
All you have to do is install DBSEO and configure it. It will allow you to have HTML extensions instead of PHP and a lot of other things. And you dont need any coding skills to install it.

I think DBSEO does not support vBulletin 5

--------------- Added 1426171567 at 1426171567 ---------------

Instead of trying to hack html into new versions of vb, why not just redirect the inbound html links to the appropriate php links in the current version?

That is what my solution does. Redirect the page.html to /page/

cellarius
03-12-2015, 01:49 PM
I think DBSEO does not support vBulletin 5
This is a vB4 thread.

thetechgenius
03-12-2015, 04:19 PM
I think DBSEO does not support vBulletin 5

--------------- Added 1426171567 at 1426171567 ---------------



That is what my solution does. Redirect the page.html to /page/

Yeah, this is the vB4 Section. lol

ccf
03-12-2015, 05:16 PM
Yeah, this is the vB4 Section. lol

Yes, I know. But you are suggesting a plugin that is unsupported by VB and not compatible with the newest version of VB.

I am still dealing with the vbseo nightmare. VB Tech Support are unable to provide support for third party pluggins. So as a good practice, I would like to keep with VB standards (btw, there aren't to high :D)

cellarius
03-12-2015, 07:23 PM
Every third party addon is unsupported by vB. And virtually no addon will work with vB5, because, stupidly, IB chose to remove the plugin system. That says nothing about the quality of the addon, but much about IB.