Jump to content
WebFlake
  • 0

Changing URL in IPS 4


polkovnika2

Question

13 answers to this question

Recommended Posts

  • 0

Hi there @polkovnika2 

  • Remove the edit you did in global_config (so restore it to how it was)
  • Open .htaccess (if its not there create it) just remember the dot first.
  • Fill it with this code.
<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule \.(js|css|jpeg|jpg|gif|png|ico|map)(\?|$) /404error.php [L,NC]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

Next step. This depends on your host, but you need to make sure you have a CNAME that has www into it, without that then it wont work.

After that try add www.yoururl.com in the config_global.php

Please note that if you are unsure about the Cname and want help i would need to know what host you have and if you are using Cpanel or Plesk :) 

  • Upvote 1

VAEfvMI.png

Liked what i posted remember to feed me a cookie ->
Or you can add a cookie to myCookieJar

Link to comment
Share on other sites

  • 0
3 hours ago, polkovnika2 said:

@Cookie Monster Hello, thank you for your help.
I tested what you wrote but did not work. I use my server on Ubuntu server.

Is it your own server etc? 

Where did you buy the domain from. 

 

  • Upvote 1

VAEfvMI.png

Liked what i posted remember to feed me a cookie ->
Or you can add a cookie to myCookieJar

Link to comment
Share on other sites

  • 0
5 minutes ago, polkovnika2 said:

Hello I do not think this is the problem.
I have one domain and the third site to it, 2 of them are wordpress and i easily add the www.
 

Well if you add www. to the config_global what error do you get when you try reach the site ?

  • Upvote 1

VAEfvMI.png

Liked what i posted remember to feed me a cookie ->
Or you can add a cookie to myCookieJar

Link to comment
Share on other sites

  • 0

Loading only the first page, and any other page will not load.

I saw where I was error,
I added www but forgot to put and (S) httpS.
Now I only need to fix the problem with icons, not showing icons of the topic, and in admin panel also no icons.
 

Screenshot_from_2017-04-15_22-04-52.png

Link to comment
Share on other sites

  • 0
2 minutes ago, polkovnika2 said:

I tested SSL Image Proxy but does not work for me.
You know another way to get fixed icons. :)

PS:
I use IPS4 4.1.19.2

If you want you can PM me a temp admin user and the URL and i can take a quick look into the code and report back :) 

  • Upvote 1

VAEfvMI.png

Liked what i posted remember to feed me a cookie ->
Or you can add a cookie to myCookieJar

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...