Status
Not open for further replies.
I tried to make a custom rewrite rule for this page

Code:
http://www.captivereefs.com/forum/custompages.php?page=salinity-conversion-table

By entering this rewrite rule:
Code:
'^custompages\.php\?page=salinity-conversion-table' =>'salinity-conversion-table.html'

I want the url to look like
Code:
http://www.captivereefs.com/forum/salinity-conversion-table-html

But for some reason, I am getting this url on the showthread after entering the original url as seen here on this post:

Code:
http://www.captivereefs.com/forum/!p![url=http://www.captivereefs.com/forum/custompages.php?page=salinity-conversion-table]Salinity Conversion Table[/url]

I have since deleted the rewrite rule and cleared the cache, but the url is still being rewritten to the above code. What do I need to do to get this url to work?
 
Last edited:
Is there any way to post a link to that page in the mean time? So members can click on a link (not rewritten)? I've cleared the rewrite out of the system but its still being rewritten.
 
I have a similar link that is working fine...

Code:
http://www.captivereefs.com/forum/custompages.php?page=reef-chemistry-calculator

Becomes this:
Code:
http://www.captivereefs.com/forum/reef-chemistry-calculator.html

with this rewrite:
Code:
'^custompages\.php\?page=reef-chemistry-calculator' =>'reef-chemistry-calculator.html'
 
First, I truly appreciate you looking into this. :)

But, it's not working for me yet. :(

getting this on the page: http://www.captivereefs.com/forum/salinity-conversion-table.html

Code:
Warning: require(/home/captiver/public_html/forum/captive_reefs.php): failed to open stream: No such file or directory in /home/captiver/public_html/forum/dbseo.php on line 433

Fatal error: require(): Failed opening required '/home/captiver/public_html/forum/captive_reefs.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/captiver/public_html/forum/dbseo.php on line 433

In looking at this code, it appears that dbseo is referencing the old script I was using for my custom pages. I don't see where this script is referenced in the dbseo control panel though. (It was imported and subsequently deleted from dbseo since the old mod isn't compatible with vb4.)
 
Last edited:
You had a lot of custom rewrite rules that referenced that file, including one that conflicted with the rule we're trying to add. They've now been disabled, and that page is working fine :)
 
I think I am missing where those are at. I've been looking under general settings ---> (Pro) Custom Redirects. Is there another place where the rewrites are that were imported from vbseo?

EDIT: I now see they are also in URL Rewrite Settings...which makes sense. But why did they import from vbseo in the other place as well? (I think know this would have save quite a few of the issues I've had.) :)
 
Last edited:
Custom Redirects are different from Custom Rewrite Rules.

Custom Redirects are essentially the same as .htaccess 301 redirect rules, whereas Custom Rewrite Rules is how you transform URLs using this mod.
 
Status
Not open for further replies.

Legacy DragonByte SEO

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
7,173
Customer rating
5.00 star(s) 1 ratings
Top