My default page URL when I logged in looks like this:
http://localhost/project/index.php?/home
but when I press back button, the index.php? was removed and it became:
http://localhost/project/home
This results in error:
404 Not Found nginx/1.18.0
I need help. Thanks a lot!
go to config.php file.
And change
FROM
$config['base_url']='http://localhost/project/';
TO
$config['base_url']='http://localhost/project/index.php?/';
Related
I want to redirect the user after submitting a form without reloading the page (document).
I tried,
page("./newurl/18/meetings");
When I click on a link link it works as expected.
Finally found out. It simply reloads the page when using a relative link with a leading dot.
This will reload
page("./mypath/subpath");
This will work properly
page("/mypath/subpath");
Example: In my website I need to redirect to www.google.com. In blade engine:
Click here
After i had clicked "Click here", It return in domain http://localhost:8000/www.google.com
So why it not redirecting to www.google.com?
Try this.
Click here
Use full url like
Click here
After i had clicked "Click here", It return in domain
Click here
This will solve your problem ;) , Remember to use full URL.
Just to try I had uploaded worpress on my working website and then couple of days later I deleted wordpress files.(on ftp delete wordpress...)
Now as I want to view the home page I get: "The requested URL / was not found on this server."
though I got this as index.html on the server.
Actually I can't view any item(images,other pages..) that is on server uploaded
Where should I look to fix this?
Thnx in advance!
You probably still have an .htaccess file, which will attempt to use Wordpress's index.php for any URL on your site. Try deleting the .htaccess file.
In backend, when I click the “Reset Filter” button, it redirects to wrong url and displaying the 404 error.
I don’t know, how to debug this issue.
please help me,
Thanks in advance
Check your store or website base url.
dont worry it is not an another how to remove index.php from url question!! :D
i researched and made according to tutorials; here is my source
http://codeigniter.com/wiki/mod_rewrite/
im sure about all steps, but when run it, i dont see any error message… url changes like
www.blablabla.com/contact
www.blablabla.com/about
but it always display homepage :/ thats weird!!
what can be problem? any idea?
thanks a lot! appreciate helps!!
if it always displays the home page it could be that your application isn't configured properly.
Check the system/application/config/config.php file and find the $config['uri_protocol'] option.
If you notice, in the comments there are a number of options you can try. I've found that sometimes on different servers I need to try different options before it will work (I think it's something to do with the PHP configuration, the AUTO option doesn't always get it right).