The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
Quote:
Thanks! |
#12
|
||||
|
||||
Quick question related to this topic:
Here are some rules and some urls I am working on. Keep in mind I have 2 types of urls that need to be redirected as listed below. PHP Code:
Thanks for the help. I have learned alot from this thread. |
#13
|
||||
|
||||
through such construction: RewriteRule [^/]+/[^/]+-([0-9]+)/
will be held and processed all requests images, smilies, links, all... I do not understand why to create this url? This is a very slow speed to open all site pages vBulletin 4its very slow, why it make more slow? I am testing with pinddom.tools: 1mb page without redirects download 4-5sec 1mb page with several redirects download 7-8sec Search engines perfectly understand short url: showthread.php?t=123456 Redirects should be used only in emergencies |
2 благодарности(ей) от: | ||
RichieBoy67, tbworld |
#14
|
||||
|
||||
Thanks friend. I agree but this is an emergency. We have over 30,000 not found urls in Google and almost 2,000 server errors caused by broken urls.
I am just trying to get some of those not found urls pointing to the right place again. I agree though that the rule I used was not wise. That is why I am here. To learn from the best and htaccess is my weakest point. |
#15
|
||||
|
||||
Apparently I do not understand you very well
Nevertheless previous post has the right to life Write me an old and a new link I'll write you a redirect rule |
#16
|
||||
|
||||
I agree.
I am having a problem with urls like this PHP Code:
|
#17
|
||||
|
||||
Create new folder musclemecca.com/member/
Add this .htaccess to new folder member Code:
Options +FollowSymLinks RewriteEngine On RedirectMatch 301 ^/members/([0-9]+)-([A-Za-z0-9-]+)$ http://musclemecca.com/member.php/$1-$2 Stop all RewriteRule(s) in root and check again. Friend, I wrote to you several times: do not use RewriteRules use RedirectMatch |
Благодарность от: | ||
RichieBoy67 |
#18
|
||||
|
||||
Thanks,
Ok this works. I forgot I already had the wrong htaccess in a members directory. This works. Starting to finally cut down on the error messages. Much appreciated! I am removing rewrite rules for redirect matches too. I think I am finally starting to pick up on your method here. It is not what most do but it seems faster and better in my opinion. Great work on using this. Am I on the right track here with this? PHP Code:
|
#19
|
||||
|
||||
Quote:
Code:
RedirectMatch 301 ^/([A-Za-z0-9-]+)-([0-9]+)/([A-Za-z0-9-]+)-([0-9]+)/$ http://musclemecca.com/showthread.php/$4-$3 |
Благодарность от: | ||
RichieBoy67 |
#20
|
||||
|
||||
Thanks Ikopylov, I was way off but I am almost there. I understand the rules somewhat but certain things still confuse me.
One last question and I will not ask for anything else. You have already helped me correct thousands of not found urls. Thank you. The only thing I really need to finish now is some urls that use the following PHP Code:
Will I have to create directories for each of these like"f226"?? Thanks again! I think this should do it, Rich |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|