Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #31  
Old 02-16-2014, 12:47 PM
ikopylov's Avatar
ikopylov ikopylov is offline
 
Join Date: Aug 2010
Location: Russia
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You asked how to redirect a typical reference to another.
I wrote to you how to do it

How to make all links?
It is necessary to analyze:
- google webmaster
- settings that were in vbseo
- links forum
- much time

In the 10th I repeat:
In order to save site's ranking, a quick page loading speed, to save attendance:
Need to write complex of redirects, very important sequence of commands RedirectMatch and Redirect.
Not use RewritRule!
Reply With Quote
  #32  
Old 02-16-2014, 02:37 PM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Again thanks for the reply, I understand the forum direct format and that I have to do that for every forum. For the posts or threads is it just that one rule that you gave at the end of your last post?

Ok, here's one, in Google my old vbseo link looks like this:
http://www.thecodecage.com/forumz/microsoft-topics/
I entered the redirect rule in /forumz/.htaccess as below:
Redirect 301 /microsoft-topics/ http://www.thecodecage.com/forumz/forumdisplay.php?f=63
But clicking the old link (or pasting it in the browser bar) doesn't redirect?

Any ideas?
Reply With Quote
  #33  
Old 02-16-2014, 02:57 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Simon Lloyd View Post
Again thanks for the reply, I understand the forum direct format and that I have to do that for every forum. For the posts or threads is it just that one rule that you gave at the end of your last post?

Ok, here's one, in Google my old vbseo link looks like this:
http://www.thecodecage.com/forumz/microsoft-topics/
I entered the redirect rule in /forumz/.htaccess as below:
Redirect 301 /microsoft-topics/ http://www.thecodecage.com/forumz/forumdisplay.php?f=63
But clicking the old link (or pasting it in the browser bar) doesn't redirect?

Any ideas?
That looks like it should work. Did you put RewriteEngine on at the top of the htaccess?
Reply With Quote
  #34  
Old 02-16-2014, 03:10 PM
ikopylov's Avatar
ikopylov ikopylov is offline
 
Join Date: Aug 2010
Location: Russia
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Simon Lloyd View Post
Any ideas?
Many ideas...
Many questions

Create ftp access to the site root, and write it to me in a PM
I look

it will be faster than we fantasize for a few days
It is necessary to see the full picture of your redirects
Reply With Quote
Благодарность от:
RichieBoy67
  #35  
Old 02-16-2014, 03:33 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ikopylov View Post
Many ideas...
Many questions

Create ftp access to the site root, and write it to me in a PM
I look

it will be faster than we fantasize for a few days
It is necessary to see the full picture of your redirects
I would love to see your work when finished.
Reply With Quote
  #36  
Old 02-16-2014, 05:30 PM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ikopylov View Post
Many ideas...
Many questions

Create ftp access to the site root, and write it to me in a PM
I look

it will be faster than we fantasize for a few days
It is necessary to see the full picture of your redirects
As much as I appreciate your offer (and do not take this as an attack on you) I don't know you and giving access to ftp on my site at this point would be foolish on my behalf.

Here are the redirects that I have up to now, I have to build more AND I have to sort out redirects or rewrites for my showthread titles too.
Quote:
RewriteEngine On
RewriteBase /forumz/
Options +FollowSymLinks
RedirectMatch 301 ^/([A-Za-z-]+)/([0-9]+)-([A-Za-z0-9-]+)\.html$ http://www.thecodecage.com/forumz/$2.html
#Added by SImon Lloyd 14/02/2014
RewriteCond %{HTTP_HOST} ^www\.thecodecage\.com$ [NC]
RewriteCond %{QUERY_STRING} ^$
RewriteRule [^/]+/([0-9]+)-[^/]+\.html http://www.thecodecage.com/forumz/showthread.php?t=$1 [L,R=301]
Redirect 301 /forumz/networking-peripherals/ [url]http://www.thecodecage.com/forumz/forumdisplay.php?f=119[/url]
Redirect 301 /forumz/microsoft-excel-forum/ [url]http://www.thecodecage.com/forumz/forumdisplay.php?f=64[/url]
Redirect 301 /forumz/microsoft-access-forum/ [url]http://www.thecodecage.com/forumz/forumdisplay.php?f=70[/url]
Redirect 301 /forumz/microsoft-powerpoint-forum/ [url]http://www.thecodecage.com/forumz/forumdisplay.php?f=74[/url]
Redirect 301 /forumz/microsoft-project-forum/ [url]http://www.thecodecage.com/forumz/forumdisplay.php?f=77[/url]
Redirect 301 /forumz/microsoft-publisher-forum/ [url]http://www.thecodecage.com/forumz/forumdisplay.php?f=80[/url]
Redirect 301 /forumz/microsoft-visio-forum/ [url]http://www.thecodecage.com/forumz/forumdisplay.php?f=83[/url]
Redirect 301 /forumz/microsoft-outlook-forum/ [url]http://www.thecodecage.com/forumz/forumdisplay.php?f=89[/url]
Redirect 301 /forumz/microsoft-word-forum/ [url]http://www.thecodecage.com/forumz/forumdisplay.php?f=86[/url]
Redirect 301 /forumz/microsoft-sharepoint-forum/ [url]http://www.thecodecage.com/forumz/forumdisplay.php?f=118[/url]
Redirect 301 /forumz/forumz/microsoft-topics/ [url]http://www.thecodecage.com/forumz/forumdisplay.php?f=63[/url]
Redirect 301 /forumz/general-discussion/ [url]http://www.thecodecage.com/forumz/forumdisplay.php?f=2[/url]
Redirect 301 /forumz/helpdesk/ [url]http://www.thecodecage.com/forumz/forumdisplay.php?f=92[/url]
Redirect 301 /forumz/vip-registration-and-promotions/ /forumz/forumdisplay.php?f=103
Redirect 301 /forumz/introductions/ [url]http://www.thecodecage.com/forumz/forumdisplay.php?f=110[/url]
Redirect 301 /forumz/jobs-offered/ [url]http://www.thecodecage.com/forumz/forumdisplay.php?f=111[/url]
Redirect 301 /forumz/general-news-updates/ [url]http://www.thecodecage.com/forumz/forumdisplay.php?f=44[/url]
Redirect 301 /forumz/feedback-forum/ [url]http://www.thecodecage.com/forumz/forumdisplay.php?f=50[/url]
Redirect 301 /forumz/testing-ground/ [url]http://www.thecodecage.com/forumz/forumdisplay.php?f=116[/url]
Redirect 301 /forumz/top-tips/ [url]http://www.thecodecage.com/forumz/forumdisplay.php?f=52[/url]
Redirect 301 /forumz/microsoft-office-topics-archive/ [url]http://www.thecodecage.com/forumz/forumdisplay.php?f=108[/url]
Redirect 301 /forumz/hot-topics/ [url]http://www.thecodecage.com/forumz/forumdisplay.php?f=117[/url]
Redirect 301 /forumz/microsoft-office-tutorials/ [url]http://www.thecodecage.com/forumz/forumdisplay.php?f=51[/url]
Redirect 301 /forumz/microsoft-office-application-homework-help/ [url]http://www.thecodecage.com/forumz/forumdisplay.php?f=94[/url]
Redirect 301 /forumz/downloads/ [url]http://www.thecodecage.com/forumz/forumdisplay.php?f=40[/url]
Redirect 301 /forumz/the-code-cage-resources-list/ [url]http://www.thecodecage.com/forumz/forumdisplay.php?f=49[/url]
Redirect 301 /forumz/resource-forums/ [url]http://www.thecodecage.com/forumz/forumdisplay.php?f=48[/url]
Redirect 301 /forumz/general-forums/ [url]http://www.thecodecage.com/forumz/forumdisplay.php?f=1[/url]
Hopefully Igor you are still willing and able to help.

--------------- Added [DATE]1392575812[/DATE] at [TIME]1392575812[/TIME] ---------------

As an added twist I use vbenterprisetranslator and many links submitted to google...etc look like this
[url]http://www.thecodecage.com/forumz/es/networking-peripherals/[/url]

[url]http://www.thecodecage.com/forumz/vi/networking-peripherals/[/url]
There are around 52 languages that all have their own 2 letter code so Ukraine would be /forumz/uk/networking-peripherals/ consequently a thread may look like http://www.thecodecage.com/forumz/uk/652836-working-numbers.html
These are going to be a huge problem to sort?

Here's the list of languages:
Quote:
af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is |id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|s r|sk|sl|es|sw|sv|zh-#TW|th|tr|uk|vi|cy|yi
--------------- Added [DATE]1392576434[/DATE] at [TIME]1392576434[/TIME] ---------------

Igor, your pm's and email are off - I've created a folder with the .htaccess in there if you'd rather do it by ftp, I can then copy the file over to the forum root and test
Reply With Quote
  #37  
Old 02-16-2014, 05:52 PM
ikopylov's Avatar
ikopylov ikopylov is offline
 
Join Date: Aug 2010
Location: Russia
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Redirect 301 /forumz/forumz/microsoft-topics/ http://www.thecodecage.com/forumz/forumdisplay.php?f=63

)))

--------------- Added 16 Feb 2014 at 20:55 ---------------

& you 52 languages will finish with this:
Code:
Warning: file_put_contents([path]/vbet_guestcache/en/_forumz_forumdisplay_php_f_6437.html) [function.file-put-contents]: failed to open stream: Permission denied in [path]/includes/vbenterprisetranslator_functions_guestcache.php on line 124
Reply With Quote
  #38  
Old 02-16-2014, 06:02 PM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Igor, your pm's and email are off - I've created a folder with the .htaccess in there if you'd rather do it by ftp, I can then copy the file over to the forum root and test .

I posted the list of languages above, I understand that right now they will fail just as my showthreads are failing, I really don't understand the .htaccess and rewrite conditions...etc which is why, to you, im probably asking the same question again and again.
Reply With Quote
  #39  
Old 02-17-2014, 02:53 AM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ikopylov, You had sent me a message but I was unable to reply because your profile has incoming messages are disabled.

I would be happy to pay you to help me finish my redirects, etc. I have been trying to do a little each day but I think you can do it much faster and better than I can. I am learning but have a long ways to go.

Thanks
Reply With Quote
  #40  
Old 02-17-2014, 08:06 AM
toon79 toon79 is offline
 
Join Date: Jun 2007
Location: Sheffield UK
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Still looking for a rewrite for images also
Reply With Quote
Благодарность от:
ikopylov
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:52 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04489 seconds
  • Memory Usage 2,282KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (10)post_thanks_box
  • (2)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete