Page 1 of 1

[phpBB3] Disabling Magic SEO for Mobile Site

Posted: Tue May 27, 2008 8:30 am
by buchoman
I hope to modify my phpBB3 forum to include a mobile site (all files are in my subdirectory called "/forum/mo/").

Trouble is that when I click on any link, Magic SEO's rewrite rules (contained in /.htaccess) cause a redirection so that other files in my "/forum/mo/" directory cannot be accessed.

For example:
The file:
"http://www.delica.ca/forum/mo/index.php?plat=html"

... gets rewritten by to:
"http://www.delica.ca/forum/index.php?plat=html"


Is there a simple rule that I can place at the beginning of my "forum/.htaccess" file that says "disregard all Rewrite Rules if (and only if) the URL link is within the "/forum/mo/" directory?

Thanks! :)
Mark

Re: [phpBB3] Disabling Magic SEO for Mobile Site

Posted: Tue May 27, 2008 11:29 am
by inveo
Please change the installation line to:

Code: Select all

if(!defined('ADMIN_START') && strpos($_SERVER['REQUEST_URI'], '/forum/mo/') === false) include($phpbb_root_path . 'includes/magic_seo_url.'.$phpEx);

Re: [phpBB3] Disabling Magic SEO for Mobile Site

Posted: Tue May 27, 2008 11:35 am
by buchoman
Brilliant! Works like a dream! Thanks for your prompt response Jiri! :D

Cart  
(empty)

Cart Check out  »

Prices are tax inclusive.

The VAT rate for your country (US) * is 0,0 % because it is not a member of the European Union (EU).

* Please create an account if your country does not match.

Community feed
  • [phpBB3] AJAX Userinfo Extension
    Hi! I'm having trouble with this extension: https://www.phpbb.com/customise/db/exte ... _userinfo/ I tried asking support from the author but for no avail, since now. My request for support...
    by Lord Phobos
  • [phpBB3] Upgrade to phpBB 3.2.3
    Hello.. after Upgrade to phpBB 3.2.3 I am getting this message.. How can I solve this issue..? Thank you
    by ingbrzy
  • [phpBB3] URL path changed
    Hello.. I have changed my site path after moving to new hosting and now can not activate SEO module.. new path http://www.miuios.cz/domains/miuios.cz/ could you help me? thank you
    by ingbrzy2
  • [phpBB3] Chinese language support
    Hi, i bought magic seo for phpbb because it says that it supports a wide range of alphabets and UTF-8, however i found that it doesn't. I'm preparing a website in Chinese and all forums having a...
    by iwsmike
  • [WP2PS] Yoast SEO plugin
    Thanks for your support installing the PS-WP integration. However there is some errors when PS-WP integration is activated. 1. Error generating sitemap with Yoas SEO plugin (it disappears when...
    by argidomin
Join our support forum » Pre-Sales Questions »
Featured Testimonials

AWESOME! One of the best support service i ever had online! I purchased the PrestaShop Theme Provider and Inveo team was so supportive and helpful to install the module! The module is working super well and gives a professional looking to my blog right now! Thank you so much!

Florence, the owner of Timeless luxury - Florenz

Just wanted to let you know that I got it working :-) It's an awesome product you've got there!

Justin, the owner of Fokvereniging VWF

More Testimonials »