<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Question2Answer Q&amp;A - Recent questions tagged ok</title>
<link>https://www.question2answer.org/qa/tag/ok</link>
<description>Powered by Question2Answer</description>
<item>
<title>Issue with .htaccess where Q2A wouldn't ok the first url structure in Admin Panel.</title>
<link>https://www.question2answer.org/qa/115003/issue-with-htaccess-where-wouldnt-first-structure-admin-panel</link>
<description>

&lt;p&gt;After searching on here for a solution to my problem, I found that other people was having the same issue. There wasn't an answer that worked for me. I have found a solution for me and maybe this solution would work for others.&lt;/p&gt;

&lt;p&gt;The original .htaccess file:&lt;/p&gt;

&lt;blockquote&gt;

&lt;p&gt;Options -Indexes
&lt;br&gt;DirectoryIndex index.php
&lt;br&gt;
&lt;br&gt;&amp;lt;IfModule mod_rewrite.c&amp;gt;
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RewriteEngine On
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; #RewriteBase /
&lt;br&gt;
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RewriteCond %{REQUEST_URI} ^(.*)//(.*)$
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RewriteRule . %1/%2 [R=301,L]
&lt;br&gt;
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RewriteCond %{REQUEST_FILENAME} !-f
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RewriteCond %{REQUEST_FILENAME} !-d
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RewriteRule ^.*$ index.php?qa-rewrite=$0&amp;amp;%{QUERY_STRING} [L]
&lt;br&gt;&amp;lt;/IfModule&amp;gt;&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;I have added the following to my .htaccess:&lt;/p&gt;

&lt;blockquote&gt;

&lt;p&gt;Options -Indexes
&lt;br&gt;DirectoryIndex index.php
&lt;br&gt;
&lt;br&gt;&amp;lt;IfModule mod_rewrite.c&amp;gt;
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RewriteEngine On
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Uncomment the next line if needed, typically for subdirectory setups
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RewriteBase /
&lt;br&gt;
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Remove double slashes in the URL
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RewriteCond %{REQUEST_URI} ^(.)//(.)$
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RewriteRule . %1/%2 [R=301,L]
&lt;br&gt;
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Check if the request is not a file or a directory
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RewriteCond %{REQUEST_FILENAME} !-f
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RewriteCond %{REQUEST_FILENAME} !-d
&lt;br&gt;
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Rewrite all other requests to index.php
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RewriteRule ^(.*)$ index.php?qa-rewrite=$1&amp;amp;%{QUERY_STRING} [L,QSA]
&lt;br&gt;&amp;lt;/IfModule&amp;gt;&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;The only issue with this fix is that while in the admin area, Q2A still doesn't ok the first url structure option. I am not sure why, but at least I have fixed my issue. Maybe this fix will help others!&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/115003/issue-with-htaccess-where-wouldnt-first-structure-admin-panel</guid>
<pubDate>Fri, 04 Oct 2024 15:29:43 +0000</pubDate>
</item>
<item>
<title>first OK option is not available when I installed my website in /q2a/ directory, How to solve this ?</title>
<link>https://www.question2answer.org/qa/114353/first-option-available-installed-website-directory-solve</link>
<description>

&lt;p&gt;first OK option is not available when I installed my website in /q2a/ directory, How to solve this ?&lt;/p&gt;

&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;https://www.question2answer.org/qa/?qa=blob&amp;amp;qa_blobid=15886911401906848604&quot; style=&quot;height:275px; width:600px&quot;&gt;&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/114353/first-option-available-installed-website-directory-solve</guid>
<pubDate>Thu, 01 Aug 2024 07:59:07 +0000</pubDate>
</item>
<item>
<title>share me your htaccess why in my website ok don't show</title>
<link>https://www.question2answer.org/qa/114215/share-me-your-htaccess-why-in-my-website-ok-dont-show</link>
<description>

&lt;p&gt;&quot;I tried to look up questions about the .htaccess file and okay with the link structure before asking, but I couldn't solve the problem. So, I wanted to share it with you and seek your help.&quot;
&lt;br&gt;this is my htaccess file&lt;/p&gt;

&lt;p&gt;Options -Indexes&lt;/p&gt;

&lt;p&gt;DirectoryIndex index.php&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;&amp;lt;IfModule mod_rewrite.c&amp;gt;&lt;/p&gt;

&lt;p&gt;&amp;nbsp; &amp;nbsp; RewriteEngine On&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;&amp;nbsp; &amp;nbsp; # Redirect HTTP to HTTPS&lt;/p&gt;

&lt;p&gt;&amp;nbsp; &amp;nbsp; RewriteCond %{HTTPS} off&lt;/p&gt;

&lt;p&gt;&amp;nbsp; &amp;nbsp; RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;&amp;nbsp; &amp;nbsp; # Existing rules&lt;/p&gt;

&lt;p&gt;&amp;nbsp; &amp;nbsp; RewriteCond %{REQUEST_FILENAME} !-f&lt;/p&gt;

&lt;p&gt;&amp;nbsp; &amp;nbsp; RewriteCond %{REQUEST_FILENAME} !-d&lt;/p&gt;

&lt;p&gt;&amp;nbsp; &amp;nbsp; RewriteRule ^(.*)$ index.php?qa-rewrite=$1 [B,L]&lt;/p&gt;

&lt;p&gt;&amp;lt;/IfModule&amp;gt;&lt;/p&gt;

&lt;p&gt;&lt;img alt=&quot;share me your htaccess why in my website ok don't show&quot; src=&quot;https://www.question2answer.org/qa/?qa=blob&amp;amp;qa_blobid=11116369989875598799&quot; style=&quot;height:131px; width:600px&quot;&gt;&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/114215/share-me-your-htaccess-why-in-my-website-ok-dont-show</guid>
<pubDate>Thu, 18 Jul 2024 10:49:52 +0000</pubDate>
</item>
<item>
<title>problem with htaccess file and URL structure and ok icon not active</title>
<link>https://www.question2answer.org/qa/112002/problem-with-htaccess-file-and-url-structure-and-icon-active</link>
<description>

&lt;p&gt;Welcome&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;I have a problem that has exhausted me and affected my site greatly, especially in the archiving aspect, and it is almost in the .htaccess file. This problem appeared when I updated the q2a script to version v 1.8.8.&lt;/p&gt;

&lt;p&gt;In the previous version, it worked perfectly&lt;/p&gt;

&lt;p&gt;Now when I modify the URL structure to the first option, the following occurs:&lt;/p&gt;

&lt;p&gt;First: the OK sign does not appear&lt;/p&gt;

&lt;p&gt;Second: When clicking on some links, such as members and sections, an error 403 Status code: 403 - Forbidden appears. Only when clicking on some links in particular that are in Arabic, such as the names of users in Arabic, as for users in English, this error does not appear, but the click works normally.&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;Attached are screenshots of the problem before and after and the page that shows the 403 error&lt;/p&gt;

&lt;p&gt;I also attached the .htaccess file that I use on my site&lt;/p&gt;

&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;https://www.question2answer.org/qa/?qa=blob&amp;amp;qa_blobid=492972529025512712&quot; style=&quot;height:126px; width:600px&quot;&gt;&lt;img alt=&quot;&quot; src=&quot;https://www.question2answer.org/qa/?qa=blob&amp;amp;qa_blobid=14121365383970742267&quot; style=&quot;height:173px; width:586px&quot;&gt;&lt;/p&gt;

&lt;blockquote&gt;

&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;https://www.question2answer.org/qa/?qa=blob&amp;amp;qa_blobid=8694314498997194499&quot; style=&quot;height:126px; width:600px&quot;&gt;&lt;span style=&quot;color:#000000&quot;&gt;# In order for the web server to process this file it must be renamed to &quot;.htaccess&quot;&lt;/span&gt;&lt;/p&gt;

&lt;pre&gt;Options -Indexes
DirectoryIndex index.php

&amp;lt;IfModule mod_rewrite.c&amp;gt;
    RewriteEngine On
    #RewriteBase /

    RewriteCond %{REQUEST_URI} ^(.*)//(.*)$
    RewriteRule . %1/%2 [R=301,L]

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^.*$ index.php?qa-rewrite=$0&amp;amp;%{QUERY_STRING} [L]
&amp;lt;/IfModule&amp;gt;&lt;/pre&gt;&lt;/blockquote&gt;

&lt;p&gt;I apologize for not being familiar with the problem and its solution. I am not a programmer and I hope you can help me. I have tried to search for the same problem or the same question, but I have not been able to solve the problem yet.&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/112002/problem-with-htaccess-file-and-url-structure-and-icon-active</guid>
<pubDate>Fri, 12 Jan 2024 20:59:59 +0000</pubDate>
</item>
<item>
<title>Mark (OK) does not appear in the first option in my website</title>
<link>https://www.question2answer.org/qa/91183/mark-ok-does-not-appear-in-the-first-option-in-my-website</link>
<description>

&lt;p style=&quot;text-align: left;&quot;&gt;Hello dear&lt;/p&gt;

&lt;p style=&quot;text-align: left;&quot;&gt;I worked&amp;nbsp;htaccess file&amp;nbsp;&lt;/p&gt;

&lt;p style=&quot;text-align: left;&quot;&gt;But (OK) does not appear in the first option&lt;/p&gt;

&lt;p style=&quot;text-align: left;&quot;&gt;?How do&amp;nbsp;that&lt;/p&gt;

&lt;p style=&quot;text-align: left;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color:#c0392b&quot;&gt;I will pay $ 10 for this service&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p style=&quot;text-align: left;&quot;&gt;&lt;img alt=&quot;&quot; src=&quot;https://www.question2answer.org/qa/?qa=blob&amp;amp;qa_blobid=216610716041695298&quot; style=&quot;height:195px; width:600px&quot;&gt;&lt;/p&gt;

&lt;p style=&quot;text-align: left;&quot;&gt;1.8.5 Question2Answer version:&amp;nbsp;&lt;/p&gt;</description>
<category>Themes</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/91183/mark-ok-does-not-appear-in-the-first-option-in-my-website</guid>
<pubDate>Wed, 24 Feb 2021 19:19:19 +0000</pubDate>
</item>
<item>
<title>.htaccess is working on my site but there is no OK in URL structure</title>
<link>https://www.question2answer.org/qa/72270/htaccess-is-working-on-my-site-but-there-is-no-ok-url-structure</link>
<description>

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;https://www.question2answer.org/qa/?qa=blob&amp;amp;qa_blobid=7786439349334402729&quot; style=&quot;height:375px; width:600px&quot;&gt;&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/72270/htaccess-is-working-on-my-site-but-there-is-no-ok-url-structure</guid>
<pubDate>Tue, 29 Jan 2019 11:25:42 +0000</pubDate>
</item>
</channel>
</rss>