 | SEO Url MOD |  |
Posted: 05/03/2007 2:55 AM |
|
|
|
|
|
| Citation |
| Posts |
1017 |
| Word Cnt. |
64,643 |
| BDay |
Apr 18 |
| Sign |
Aries |
| Sex |
 |
|
|
|
Joined: Apr 01, 2007
Local time: 11:51 PM
Location: UNITED ARAB EMIRATES
|

|
|
|
|
 |
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 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 which is one of the good way to do SEO  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: SEO Url MOD |  |
Posted: 05/05/2007 12:16 AM |
|
|
|
|
|
| Citation |
| Posts |
1017 |
| Word Cnt. |
64,643 |
| BDay |
Apr 18 |
| Sign |
Aries |
| Sex |
 |
|
|
|
Joined: Apr 01, 2007
Local time: 11:51 PM
Location: UNITED ARAB EMIRATES
|

|
|
|
|
 |
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
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 |
|
|
 | Re: SEO Url MOD |  |
Posted: 05/05/2007 12:40 AM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 3:51 PM
Location: St Pete, FL
|

|
|
|
|
 |
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...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: SEO Url MOD |  |
Posted: 05/05/2007 12:53 AM |
|
|
|
|
|
| Citation |
| Posts |
1017 |
| Word Cnt. |
64,643 |
| BDay |
Apr 18 |
| Sign |
Aries |
| Sex |
 |
|
|
|
Joined: Apr 01, 2007
Local time: 11:51 PM
Location: UNITED ARAB EMIRATES
|

|
|
|
|
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: SEO Url MOD |  |
Posted: 05/05/2007 1:12 AM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 3:51 PM
Location: St Pete, FL
|

|
|
|
|
 |
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...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: SEO Url MOD |  |
Posted: 05/05/2007 1:25 AM |
|
|
|
|
|
| Citation |
| Posts |
1017 |
| Word Cnt. |
64,643 |
| BDay |
Apr 18 |
| Sign |
Aries |
| Sex |
 |
|
|
|
Joined: Apr 01, 2007
Local time: 11:51 PM
Location: UNITED ARAB EMIRATES
|

|
|
|
|
 |
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  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: SEO Url MOD |  |
Posted: 05/05/2007 1:52 AM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 3:51 PM
Location: St Pete, FL
|

|
|
|
|
 |
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...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: SEO Url MOD |  |
Posted: 05/05/2007 2:52 AM |
|
|
|
|
|
| Citation |
| Posts |
1332 |
| Word Cnt. |
86,126 |
| BDay |
Feb 11 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Mar 31, 2007
Local time: 8:51 PM
Location: Birmingham, UK.
|

|
|
|
|
 |
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 |
|
|
 | Re: SEO Url MOD |  |
Posted: 05/05/2007 3:38 AM |
|
|
|
|
|
| Citation |
| Posts |
1017 |
| Word Cnt. |
64,643 |
| BDay |
Apr 18 |
| Sign |
Aries |
| Sex |
 |
|
|
|
Joined: Apr 01, 2007
Local time: 11:51 PM
Location: UNITED ARAB EMIRATES
|

|
|
|
|
 |
| 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...
|
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 |
|
|
 | Re: SEO Url MOD |  |
Posted: 05/05/2007 3:41 AM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 3:51 PM
Location: St Pete, FL
|

|
|
|
|
 |
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...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Information |  |
|