News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

funny url issue

Started by mredd, January 23, 2018, 03:23:31 PM

Previous topic - Next topic

mredd

Hi All.


I have just migrated to another host everything is fine apart from one thing.

I have have simpleportal Version: 2.3.7 ( in front page mode ) and i have a button named ( forum )

so when I click the forum link while on the portal front page it goes to ( https://ftac.org.uk/index.php?action=forum  ) and the format of the page is all messed up.

but if i click in the recent posts box on the portal page then click the link back to forum i get (   https://www.ftac.org.uk/index.php?action=forum#c5   ) and the page is fine.


Any ideas folks.

Sir Osis of Liver

Both links look same to me.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Illori

the first link does not load with CSS for me, the second does.

strange as on most hosts if you use www or not it should show the same thing.

Kindred

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Sir Osis of Liver

I see the problem in FF56, both links load normally in IE11.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

mredd

thanks all.

how do i fik the url settings

Illori

Quote from: Kindred on January 23, 2018, 03:55:10 PM
So, fix your url settings

the URLs are not the issue, it is the link the user is using from the portal front page. it has to be changed.

Kindred

That link is usually determined from the scripturl or boardurl setting


On the other hand...   fixing it in htaccess to force www is probably the best answer
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Illori

Quote from: Kindred on January 23, 2018, 04:01:30 PM
That link is usually determined from the scripture or boardurl setting

not if the user added the link somewhere manually then it is not determined from anywhere in SMF.

mredd

thanks.

I added the button ( forum ) a long time ago and it has been fine untill the migration.

this has me confused.

Illori


mredd

It was a web host server migration.

I have been looking around and found ( Theme directory (templates):    (warning, this path is not correct!) )

Fixing this issue might help i hope ... cant do any harm anyway

mredd

please feel free to call me idiot with brain freeze.

after going through index ,  subs , settings , languages php.

I thought do back up then run  repair settings and job done.


Thanks for your help.

Advertisement: