It is currently Tue Mar 31, 2015 9:45 am

News News of phpBB mod Rewrite

Site map of phpBB mod Rewrite » Forum : phpBB mod Rewrite

Discussions and support about the different URL Rewriting techniques for phpBB.

CDN for phpbb gallery

Hello,

thanks for your great work. When I see your code I am always impressed. So much work!

To my problem:

I have to use a cdn for my phpbb gallery. My Server is good but I have to many images and to much impressions.
Therefor I have to change the Image URL. At the moment my image URLs looks like:

Thumb:

-http://www.example.com/category-a2/small-dog-t9015.jpg

Normal Image:

-http://www.example.com/category-a2/small-dog-i9015.jpg

I have to make it like this:

-http://cdn.example.com/category-a2/small-dog-t9015.jpg

-http://cdn.example.com/category-a2/small-dog-i9015.jpg

The $thumb_url and $image_url are generated in

/includes/gallery/image/images.php:

Example:

Code: Select all
$thumb_url = phpbb_gallery_url::append_sid('image', "mode=thumbnail&album_id=$album_id&image_id=$image_id{$additional_parameters}");


I am not a good programmer. I hope that you can help ...
Read more : CDN for phpbb gallery | Views : 242 | Replies : 0


Problem with htaccess and subdirectory

Hi, I have a wordpress in my website root and a phpbb (3.1.3) in a subfolder.

I did a url rewrite: (advanced mode)


<IfModule mod_rewrite.c>
# You may need to un-comment the following lines
# Options +FollowSymlinks
# To make sure that rewritten dir or file (/|.html) will not load dir.php in case it exist
# Options -MultiViews
# REMEBER YOU ONLY NEED TO STARD MOD REWRITE ONCE
RewriteEngine On

# Uncomment the statement below if you want to make use of
# HTTP authentication and it does not already work.
# This could be required if you are ...
Read more : Problem with htaccess and subdirectory | Views : 976 | Replies : 1


Home page re-direction issue

Hi,

I'd appreciate some inputs on an issue I'm facing. I assume it's related to .htaccess entries.

Issue: All pages on the website http://www.mbacrystalball.com work well with and without the 'www' except the homepage.

A little history: When I moved the site from one host to another last year, I added redirects for individual pages in the .htaccess file. Those are working fine. Also, the blog hosted on as a separate Wordpress instance also works well with and without the 'www' tag. It's just the homepage of the MBA website that has this issue. ...
Read more : Home page re-direction issue | Views : 1130 | Replies : 0


Sub Directory not working...

Hi,

my board ist on a sub-directory, the phpBB-SEO is working, but the sub-directory in the URL is failed.
The sub-category is: Forum
link to index: ecombase.net/forum.html
link to a category: ecombase.net/forum1/
What can i do?
Here my .htaccess

Please help me...

<IfModule mod_rewrite.c>
RewriteEngine on
#RewriteCond %{HTTP_HOST} !^www\.ecombase\.net$ [NC]
#RewriteRule ^(.*)$ http://www.ecombase.net$1 [R=301,L]
##############################################


#<IfModule mod_rewrite.c>
# You may need to un-comment the following lines
Options +FollowSymlinks
# To make sure that rewritten dir or file (/|.html) will not load dir.php in case it exist
# Options -MultiViews
# REMEBER YOU ONLY NEED TO STARD MOD REWRITE ONCE

# ...
Read more : Sub Directory not working... | Views : 2396 | Replies : 0


Remove ending slash

hello,
In my forum user profile link is
http://example.com/member/username/

I want to remove the ending slash.

How can I do that?

Can anyone help please?

Thank you.
Read more : Remove ending slash | Views : 1751 | Replies : 0


 

Login  •  Register


Statistics

Total posts 70899 • Total topics 36119 • Total members 17944