Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved Image Redirect Loop
#1
Not Solved
I decided to make threads as /thread/(SEO friendly url), users as /user/blah and forums as /forum/blah.

This worked as you can see by the example:
http://gamingforums.net/thread/Destiny-G...633#pid633 *see edit

However all images are probably using images/blah instead of bburl/images/blah, or perhaps another reason and images are stuck in a redirect loop and do not show.

The average avatar shows
http://gamingforums.net/index.php/index....1405543585
same for all other resources

please advise, is there a quick fix for every issue that could arise or am I going to *have* to stop using a "directory hack"

EDIT: Didn't want to leave a not functioning thing up live. So it's removed publicly, but basically every image is stuck in a redirect loop, except the ones directly used in template (bburl/images/blah). The ones using $post['stars'] and stuff are having issues.
#2
Not Solved
We'd need to see what rewrite rules you're using to have any chance of suggesting anything.
MyReactions - All Plugins

Can you still feel the butterflies?

Free never tasted like pudding.
#3
Not Solved
(2014-08-24, 01:40 PM)Matt. Wrote: We'd need to see what rewrite rules you're using to have any chance of suggesting anything.
                rewrite ^/([^&]*)&(.*)$ http://gamingforums.net/$1?$2 permanent;
                rewrite ^/((?i)sitemap-([^./]+)\.xml)$ /misc.php?google_seo_sitemap=$2;
                rewrite ^/forum/((?i)([^./]+))$ /forumdisplay.php?google_seo_forum=$2;
                rewrite ^/thread/((?i)([^./]+))$ /showthread.php?google_seo_thread=$2;
                rewrite ^/user/((?i)([^./]+))$ /member.php?action=profile&google_seo_user=$2;

I am using nginx, and Google SEO for the frontend functionality.
#4
Not Solved
This user has been denied support. This user has been denied support.
The best solution is to stick with - instead of /.

Read the documentation regarding virtual directory structures, and https://github.com/frostschutz/MyBB-Goog.../issues/43
#5
Not Solved
I'm really fond of /threads/blah, I think it's much neater. Is it not possible with complete functionality somehow?

I have issues with images, stars, avatars and things like that. What changes would I need to make in that sense?
#6
Not Solved
This user has been denied support. This user has been denied support.
1) Your webserver configuration is broken, particularly in regards to that index.php/index.php redirect. It's not something I can help you with.

2) You didn't read the documentation that came with the plugin. I already pointed you to the minimum changes necessary (see earlier reply).

I added support for / in URLs because people kept requesting it; that does not mean I can solve all issues revolving MyBB's relative links. If you choose this scheme, finding and fixing issues that arise because of it is your job. You have to figure this out for yourself.

Please stop sending me messages about it. I know it doesn't work great. I keep telling people that it's not recommended whatsoever. If you know better, it's your problem, not mine.


Forum Jump:


Users browsing this thread: 1 Guest(s)