SEO - Problem With Google Keyword - Changing URL Rewrite Rule


Subject: SEO - Problem With Google Keyword - Changing URL Rewrite Rule
I have already asked in the spanish forum but they couldnt resolve my answer. If I break any rules, I'm sorry.. my english is not very good.

My problem is that I want to modify "Google keyword URLs 2.1.0 webmedic This MOD makes static URLs for phpBB h**p://***.webmedic.net/ " which phpBB XS2 includes.

What i want to do is change the endings, for example (in red):

amigos-google-phpbb-y-un-sitemap-vt6806.HTML

And change the ending, instead of -vt -vt-descarga-directa

Which files do I have to change? i tried modifying .htaccess and page_header.php, but it doesnt work.

What do i have to do?

Thanks :mrgreen: :mrblue: :mrorange: :mrviolet: :mryellow:

Subject: Re: Problem With Google Keyword URLs 2.1.0
Hmm, this uses "vt" because it is basically shortening the name for viewtopic.php to vt

I can show you how to change it but I don't know the consequences as I do not use the mod.
You tried doing the edit in both files at the same time right? Both have to be done to work.

Open:

includes/page_header.php

Find:

Code: [Download] [Hide] [Select]
"make_url_friendly('6') . '-vt1.html' . if_query('2') . stripslashes('56') . '</a>'",


Replace Witih:

Code: [Download] [Hide] [Select]
"make_url_friendly('6') . '-vt-descarga-directa1.html' . if_query('2') . stripslashes('56') . '</a>'",


Open:

.htaccess

Find:

Code: [Download] [Hide] [Select]
RewriteRule [.]*-vt([0-9]*) viewtopic.php?%{QUERY_STRING}&t=>RewriteRule [.]*-vt([0-9]*) viewtopic.php?%{QUERY_STRING}&t=$1 <


Replace With:

Code: [Download] [Hide] [Select]
RewriteRule [.]*-vt-descarga-directa([0-9]*) viewtopic.php?%{QUERY_STRING}&t=>RewriteRule [.]*-vt-descarga-directa([0-9]*) viewtopic.php?%{QUERY_STRING}&t=$1 <


Remember to save back-ups whenever you do any edits


____________

I know this is an old post but I got bored and clicked "View Unanswered Posts" in hopes that I could help and maybe.. just maybe.. these people are watching this topic, also marking SOLVED on all posts that have been solved to tidy up a bit

Subject: Re: Problem With Google Keyword URLs 2.1.0
Good answer Frost, I'm adding this in the Docs Section. :mri:

Subject: Re: Problem With Google Keyword - Changing URL Rewrite Rule
I was hoping he would post back to say if it was successful LOL


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.5654s (PHP: 4% SQL: 96%)
SQL queries: 30 - Debug Off - GZIP Enabled