Advertisement:

Author Topic: public-profile url format  (Read 3601 times)

Web-Media

  • Sr. Member
  • ****
  • Posts: 451
  • Web
Re: public-profile url format
« Reply #90 on: April 18, 2019, 12:14:30 am »
https://forums.osclass.org/development/user-profile-url/  it is public now .
lets  see if someone  could help debugging

Web-Media

  • Sr. Member
  • ****
  • Posts: 451
  • Web
Re: public-profile url format
« Reply #91 on: April 18, 2019, 12:29:29 am »
The problem must be in the sethpath plugin router . I'll look into it

Web-Media

  • Sr. Member
  • ****
  • Posts: 451
  • Web
Re: public-profile url format
« Reply #92 on: April 18, 2019, 01:57:15 am »
check your htacces file
Code: [Select]
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

</IfModule>

Sophia_OS

  • Sr. Member
  • ****
  • Posts: 408
Re: public-profile url format
« Reply #93 on: April 18, 2019, 04:47:32 am »
check your htacces file
Code: [Select]
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

</IfModule>

htaccess file is correct!
please check the paths

Web-Media

  • Sr. Member
  • ****
  • Posts: 451
  • Web
Re: public-profile url format
« Reply #94 on: April 18, 2019, 09:04:39 am »
I've had same issue .Didn't get the theme file 404 but server 404.  Activating the permalinks somehow doesnt write the  htacces file. I've had to edit  htacces  myself .

Sophia_OS

  • Sr. Member
  • ****
  • Posts: 408
Re: public-profile url format
« Reply #95 on: April 18, 2019, 09:51:23 am »
I've had same issue .Didn't get the theme file 404 but server 404.  Activating the permalinks somehow doesnt write the  htacces file. I've had to edit  htacces  myself .

If the problem is htaccess, then why its working on localhost? Because localhost has the same htaccess!

Web-Media

  • Sr. Member
  • ****
  • Posts: 451
  • Web
Re: public-profile url format
« Reply #96 on: April 18, 2019, 10:24:49 am »
It's about rewrite base and public_html folder

Sophia_OS

  • Sr. Member
  • ****
  • Posts: 408
Re: public-profile url format
« Reply #97 on: April 18, 2019, 10:38:50 am »
It's about rewrite base and public_html folder

So why osclass's own routes work good with this htaccess and have no problem with public_html folder?

Web-Media

  • Sr. Member
  • ****
  • Posts: 451
  • Web
Re: public-profile url format
« Reply #98 on: April 18, 2019, 11:03:56 am »
Cannot dive deeper  into this htacces .
Had same issue .
Enabling permalinks didn't work for whole site becouse htaccea wasnt updated  by osclass . .. seever issue .. script issue .. i dont know.
 Solved editing htacces  by hand
http://oscmad.com/kb-cris
Plugin  works fine
« Last Edit: April 18, 2019, 11:16:29 am by Web-Media »

Sophia_OS

  • Sr. Member
  • ****
  • Posts: 408
Re: public-profile url format
« Reply #99 on: April 18, 2019, 11:10:14 am »
Please share with us your htaccess file! Thanks!

Web-Media

  • Sr. Member
  • ****
  • Posts: 451
  • Web
Re: public-profile url format
« Reply #100 on: April 18, 2019, 11:16:56 am »
I just did  before .

Sophia_OS

  • Sr. Member
  • ****
  • Posts: 408
Re: public-profile url format
« Reply #101 on: April 18, 2019, 11:48:02 am »
I just did  before .

Not plugin! Htaccess file! You solved the issue by editing the htaccess file right?

Web-Media

  • Sr. Member
  • ****
  • Posts: 451
  • Web
Re: public-profile url format
« Reply #102 on: April 18, 2019, 12:08:11 pm »
Yes . Htacces 

Sophia_OS

  • Sr. Member
  • ****
  • Posts: 408
Re: public-profile url format
« Reply #103 on: April 18, 2019, 12:36:31 pm »
Yes . Htacces

Please give us your htaccess file! Thanks

Sophia_OS

  • Sr. Member
  • ****
  • Posts: 408
Re: public-profile url format
« Reply #104 on: April 18, 2019, 12:40:50 pm »
This is my htaccess:
Would you please edit this to work?
Thanks,

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