This topic contains a post which is marked as Best Answer. Press here if you would like to see it.
*

questions

  • *****
  • 319 posts
Not Found

The requested URL /search was not found on this server.

Fix please?
« Last Edit: February 07, 2023, 10:09:51 AM by MB Themes »

*

MB Themes

Re: Friendly URL error
« Reply #1 on: February 07, 2023, 08:05:58 AM »
Check your permalink settings
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

questions

  • *****
  • 319 posts
Re: Friendly URL error
« Reply #2 on: February 07, 2023, 08:46:54 AM »
Check your permalink settings

Checked all looks good :) on localhost it works fine, while on live does not works.

Not Found

The requested URL /search was not found on this server.

I need urgent help into this.

*

MB Themes

Re: Friendly URL error
« Reply #3 on: February 07, 2023, 08:48:36 AM »
Only search page does not work?
Have you refreshed .htaccess file?
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

questions

  • *****
  • 319 posts
Re: Friendly URL error
« Reply #4 on: February 07, 2023, 08:54:06 AM »
Only search page does not work?
Have you refreshed .htaccess file?

All of them does not works.
This is my .htaccess file

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

Found that someone fixed following the instructions in the image.

I can't see the options in the image under epsilon.

What could be wrong? why it works underlocalhost and it doesn't on live server?

Also seems 404 is not working too...

No changes has been made over the default installation, no one!

domain/aksjdhwadwa returns

Not Found

The requested URL /aksjdhwadwa was not found on this server.

instead of 404, while on localhost returns a 404 page.

I am stuck here. Please need urgent help.

-------------

File .htaccess already exists and was not modified. Here's the content you have to add to the .htaccess file. If you can't modify the file or experience some problems with the URLs, please deactivate the Friendly URLs option.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

------------------

There is people on google having the same problem:
Permalinks Friendly url Problem when language is not English
« Last Edit: February 07, 2023, 09:27:26 AM by questions »

*

MB Themes

Re: Friendly URL error
« Reply #5 on: February 07, 2023, 09:52:46 AM »
a) you have not installed Osclass and just copied into server
b) you have not mod_rewrite enabled on your hosting
c) your .htaccess file is not read by server

Not sure how wordpress screenshot relates to your issue.
Not aware of any other people than you having this issue right now with Osclass.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

Marked as best answer by questions on February 07, 2023, 10:04:07 AM
*

questions

  • *****
  • 319 posts
Re: Friendly URL error
« Reply #6 on: February 07, 2023, 10:00:43 AM »
a) you have not installed Osclass and just copied into server
b) you have not mod_rewrite enabled on your hosting
c) your .htaccess file is not read by server

########################

EDIT:

AllowOverride All - is the ANSWER - as it comes as AllowOverride None


So if there is someone else having this issue, this could be the best answer, so you either ask your hosting provider set AllowOverride None to All, either you do it by yourself if you are your own hosting provider, or if you use Google, Microsoft or Amazon.

1) .htaccess - make it readable
2) enable mod_rewrite if it's not enabled by default (it must be)
3) make sure to change AllowOverride None to Allow Override All as in the example below.

Code: [Select]
[i]# Further relax access to the default document root:
<Directory "/var/www/html">
    #
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    #
    # Note that "MultiViews" must be named *explicitly* --- "Options All"
    # doesn't give it to you.
    #
    # The Options directive is both complicated and important.  Please see
    # http://httpd.apache.org/docs/2.4/mod/core.html#options
    # for more information.
    #
    Options Indexes FollowSymLinks

    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride All

    #
    # Controls who can get stuff from this server.
    #
    Require all granted
</Directory>

[/i]
« Last Edit: February 07, 2023, 10:09:42 AM by questions »

*

MB Themes

@questions
Thanks for your feedback!
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

questions

  • *****
  • 319 posts
@questions
Thanks for your feedback!

Thanks for the support as well!