Log in Register FAQ Memberlist Search Welcome to RCF - WHF Forum Index
alt : test.swf
Welcome to RCF - WHF
4fx3.gif 
calendar_open_closeCalendar 
SEO Url MOD
Post new topic   Reply to topic View previous topic :: View next topic
Goto page: 1, 2, 3, 4, 5, 6, 7  Next
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
SEO Url MOD
PostPosted: 05/03/2007 2:55 AM Reply with quote
Citation
abdulbasit
Citation
Posts 1017
Word Cnt. 64,643
BDay Apr 18
Sign Aries
Sex Sex:Male
Joined: Apr 01, 2007
Local time: 12:55 AM
Location: UNITED ARAB EMIRATES
unitedACa.gif
Hello NightRider,

I just downloaded a MOD which the similar MOD on other site is of $89!! and this is made with the similar functions and it's free on phpBB.

I would like everyone to install this MOD on their forum so it will make the URL very much search engine friendly. For example the URL is www.4fxearth.net/phpBB2/viewtopic.php?t=1234 so it will change to  www.4fxearth.net/phpBB2/topic-title-t1234.html which is really easy for search engine to spider it easily and fast which is the benefit for the webmaster of that forum.

But the problem is the Author Notes Very Happy which I don't understand at all. If possible, you can look at it any time when you are free. I would suggest you must install this MOD too Wink which is one of the good way to do SEO Smile
Back to Top
View user's profile Find all posts by abdulbasit Send private message [ Hidden ] Visit poster's website Yahoo Messenger MSN Messenger
Re: SEO Url MOD
PostPosted: 05/05/2007 12:16 AM Reply with quote
Citation
abdulbasit
Citation
Posts 1017
Word Cnt. 64,643
BDay Apr 18
Sign Aries
Sex Sex:Male
Joined: Apr 01, 2007
Local time: 12:55 AM
Location: UNITED ARAB EMIRATES
unitedACa.gif
I read the Author notes again and again but didn't understand the part where he said to copy the folders in which 2 files are there which is robots.txt and .htaccess

Without copying them I tried to install the MOD on test board but there was only 1 critical error which is strange how i can't fix it. I even make it very small but still not able to read from the file.

It is

Code:
Critical Error

FIND FAILED: In file [search.php] could not find:

$forum_url = append_sid("viewforum.$phpEx?" . POST_FORUM_URL . '=' . $searchset[$i]['forum_id']);

MOD script line #423 :: FAQ :: Report

CRITICAL ERROR: Could not modify [search.php]


and I made it
Code:
$forum_url =
but still error comes. After this error will be fixed than I will install the MOD and see what error comes next.

Strange no one even downloaded this MOD to make their site better in SE.
Back to Top
View user's profile Find all posts by abdulbasit Send private message [ Hidden ] Visit poster's website Yahoo Messenger MSN Messenger
Re: SEO Url MOD
PostPosted: 05/05/2007 12:40 AM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 4:55 PM
Location: St Pete, FL
peace.gif
The order of the MOD commands is the problem this time.  So do this:

OPEN
seo_urls_v2.txt

FIND
Code:
#
#-----[ FIND ]------------------------------------------
#
         $topic_title = $searchset[$i]['topic_title'];
#
#-----[ REPLACE WITH ]------------------------------------------
#
//-- mod : seo urls v2 ---------------------------------------------------------
//-- delete (position changed)
/*
                        $topic_title = $searchset[$i]['topic_title'];
*/
//-- fin mod : seo urls v2 -----------------------------------------------------
#
#-----[ FIND ]------------------------------------------
#
         $forum_url = append_sid("viewforum.$phpEx?" . POST_FORUM_URL . '=' . $searchset[$i]['forum_id']);
#
#-----[ BEFORE, ADD ]------------------------------------------
#
         $forum_name = $searchset[$i]['forum_name'];
         $topic_title = $searchset[$i]['topic_title'];

REPLACE WITH
Code:
#
#-----[ FIND ]------------------------------------------
#
         $forum_url = append_sid("viewforum.$phpEx?" . POST_FORUM_URL . '=' . $searchset[$i]['forum_id']);
#
#-----[ BEFORE, ADD ]------------------------------------------
#
         $forum_name = $searchset[$i]['forum_name'];
         $topic_title = $searchset[$i]['topic_title'];
#
#-----[ FIND ]------------------------------------------
#
         $topic_title = $searchset[$i]['topic_title'];
#
#-----[ REPLACE WITH ]------------------------------------------
#
//-- mod : seo urls v2 ---------------------------------------------------------
//-- delete (position changed)
/*
                        $topic_title = $searchset[$i]['topic_title'];
*/
//-- fin mod : seo urls v2 -----------------------------------------------------

Save, upload, and try again using EM...

headbang
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: SEO Url MOD
PostPosted: 05/05/2007 12:53 AM Reply with quote
Citation
abdulbasit
Citation
Posts 1017
Word Cnt. 64,643
BDay Apr 18
Sign Aries
Sex Sex:Male
Joined: Apr 01, 2007
Local time: 12:55 AM
Location: UNITED ARAB EMIRATES
unitedACa.gif
Very Happy This installed so smoothly and i got so happy and it's good i installed on test board. So after installing the links changed to

http://www.pkvehicles.com/forum/administrators-area-f206.html
http://www.pkvehicles.com/forum/christianity-f301.html

So all the links in my test forum are dead. I am sure we have to work out through that .htacess file which I didn't copied as well as robots.txt

I don't know where to copy that .htaccess file because it is already there on server as you can see. So what to do now  dontknow
Back to Top
View user's profile Find all posts by abdulbasit Send private message [ Hidden ] Visit poster's website Yahoo Messenger MSN Messenger
Re: SEO Url MOD
PostPosted: 05/05/2007 1:12 AM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 4:55 PM
Location: St Pete, FL
peace.gif
I don't see a. htaccess file in either funwadi or vehicles folders.  So it should be safe to upload it to both.  You don't want to overwrite what you have if the .htaccess file exists.  Then you would want to combine the code from both files into one...

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: SEO Url MOD
PostPosted: 05/05/2007 1:25 AM Reply with quote
Citation
abdulbasit
Citation
Posts 1017
Word Cnt. 64,643
BDay Apr 18
Sign Aries
Sex Sex:Male
Joined: Apr 01, 2007
Local time: 12:55 AM
Location: UNITED ARAB EMIRATES
unitedACa.gif
I am trying to install this first on vehicles for testing. So now copied the 2 files from phpBB_in_folder (folder) and pasted at vehicles/forum/.htaccess and vehicles/forum/.htacess but still the links not working. I think there must be some changes needed now in .htaccess files but don't know what changes to do  dontknow
Back to Top
View user's profile Find all posts by abdulbasit Send private message [ Hidden ] Visit poster's website Yahoo Messenger MSN Messenger
Re: SEO Url MOD
PostPosted: 05/05/2007 1:52 AM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 4:55 PM
Location: St Pete, FL
peace.gif
You may have to copy this .htaccess file to your public_html folder.  You already have one so you would want to combine the code from the two files.  You would be uploading the files from the phpBB_in_folder MOD folder, not the phpBB_in_root.  In the files, you would want to replace all instances of phpBB2 with vehicles/forum for your test forum and funwadi/forum for your Live forum.  You would need to edit both the robots.txt and .htaccess files to do this...

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: SEO Url MOD
PostPosted: 05/05/2007 2:52 AM Reply with quote
Citation
Chris Powell
Citation
Posts 1332
Word Cnt. 86,126
BDay Feb 11
Sign Aquarius
Sex Sex:Male
Joined: Mar 31, 2007
Local time: 9:55 PM
Location: Birmingham, UK.
greatbrE.gif
I've had this SEO URL mod installed on my for site for a while now http://www.djpassions.com/

From this page http://www.phpbb-seo.com/boards/phpbb-seo-toolkit/phpbb-seo-mod-rewrit es-vt66.html

I used this one http://www.phpbb-seo.com/boards/advanced-mod-rewrite/advanced-seo-url- vt43.html which works a treat

As for you having problems with the rewrite Abdul, it's a bit trickier to set up when you’re running it of a forum folder


You should use the latest rewrite mod as I can help you with it better.

Basically though, if you have htaccess rules already you need to put the rewrite rules before them in the file. You will need to put that htaccess file into your domain root (not forum folder) you may also need to rename /index.htm to something like forum/index.htm throughout the whole htaccess rewrite commands. Sounds confusing I know lol. What it is that mod author of the mod your using proberly only set it so that it’d work of the domain root. But because you want to use it coming of a forum folder you’re going to have to fight with it a little.

Like I say though you should try the latest version (see link at the top of this page)
Back to Top
View user's profile Find all posts by Chris Powell Send private message   Visit poster's website
Re: SEO Url MOD
PostPosted: 05/05/2007 3:38 AM Reply with quote
Citation
abdulbasit
Citation
Posts 1017
Word Cnt. 64,643
BDay Apr 18
Sign Aries
Sex Sex:Male
Joined: Apr 01, 2007
Local time: 12:55 AM
Location: UNITED ARAB EMIRATES
unitedACa.gif
Nightrider wrote:
You may have to copy this .htaccess file to your public_html folder.  You already have one so you would want to combine the code from the two files.  You would be uploading the files from the phpBB_in_folder MOD folder, not the phpBB_in_root.  In the files, you would want to replace all instances of phpBB2 with vehicles/forum for your test forum and funwadi/forum for your Live forum.  You would need to edit both the robots.txt and .htaccess files to do this...

munky2


But I cannot copy the phpBB_in_folder files to public_html folder because already .htaccess is there and If i will replace it so the previous .htaccess data will be gone which I don't think should be removed. So than what should i do?
Back to Top
View user's profile Find all posts by abdulbasit Send private message [ Hidden ] Visit poster's website Yahoo Messenger MSN Messenger
Re: SEO Url MOD
PostPosted: 05/05/2007 3:41 AM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 4:55 PM
Location: St Pete, FL
peace.gif
My guess is that you would want to combine the code from both .htaccess files into one.  You don't want to overwrite the old one with the new because you might be losing some settings from the first file.  So if you combine the settings from both files into one, then you shouldn't lose anything...

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
 Post new topic  Reply to topic
Information
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
All times are GMT - 5 Hours
Goto page: 1, 2, 3, 4, 5, 6, 7  Next
Page 1 of 7


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.1012s (PHP: 54% - SQL: 46%) - SQL queries: 57 - GZIP disabled - Debug on