Go to your WP-ADMIN–>Settings–>Permalink and use the permalink structure change there, if it generate any .htaccess file copy the content and update your .htaccess file.
Or Check if your hosting mod_rewrite is enable by creating a file phpinfo.php with content,
<?php phpinfo();?>
Upload this file and browse via Browser. So you know which modules are enabled. You need mod_rewrite enable to remove index.php from URL.
More details Check this link
Related Posts:
- http://localhost:80 is not working on running Apache server through UniServer ZeroXIII
- $wpdb->update or $wpdb->insert results in slashes being added in front of quotes
- Redirect vs RedirectMatch
- MAMP “Apache couldn’t be started because port is in use.” AND “Can’t connect to local MySQL server through /tmp/mysql.sock
- XAMPP, using port:81, cannot run localhost:81/mywebsite
- Getting a 500 Internal Server Error on Laravel 5+ Ubuntu 14.04
- Redirect old php link to wordpress link in .htaccess
- Redirect old php link to wordpress link in .htaccess
- Cant login to wp-admin (redirecting to homepage), But CAN login to wp-login.php
- Cant login to wp-admin (redirecting to homepage), But CAN login to wp-login.php
- How to avoid Request Entity Too Large 413 error
- How to log in to phpMyAdmin with WAMP, what is the username and password?
- Should I use mysqli_real_escape string() or mysql_real_escape_string() for form data?
- What’s the net::ERR_HTTP2_PROTOCOL_ERROR about?
- Fatal error: Call to undefined function mysql_connect()
- PDOException SQLSTATE[HY000] [2002] No such file or directory
- Mysql query- How to use contains?
- How do I resolve a HTTP 414 “Request URI too long” error?
- mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in
- Invalid column count in CSV input on line 1 Error
- Getting an error when I visit http://localhost
- PDO with INSERT INTO through prepared statements
- phpMyAdmin: secret passphrase?
- PDO bindParam() with prepared statement isn’t working
- Forbidden :You don’t have permission to access /phpmyadmin on this server
- Creating a search form in PHP to search a database?
- How can I do ‘insert if not exists’ in MySQL?
- Fatal error: Call to a member function bind_param() on boolean [duplicate]
- Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 71 bytes)
- MySqli Commands out of sync; you can’t run this command now
- What is the difference between the ‘www’ folder and ‘htdocs’ folder?
- Trying to get property of non-object in
- Fix Access denied for user ‘root’@’localhost’ for phpMyAdmin
- What is Options +FollowSymLinks?
- Getting connection failed: php_network_getaddresses: getaddrinfo failed: Name or service not known
- Lost connection to MySQL server at ‘reading initial communication packet’, system error: 0
- SSL error SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
- PHP with MySQL 8.0+ error: The server requested authentication method unknown to the client
- WordPress Error : Upload folder is not writable. Export and file upload features will not be functional
- SQLSTATE[HY093]: Invalid parameter number: parameter was not defined
- How can I do ‘insert if not exists’ in MySQL?
- WordPress child theme style.css not working
- Object of class DateTime could not be converted to string
- Child theme css not overriding parent
- Prioritize Visible Content WordPress
- mysqli::query(): Couldn’t fetch mysqli
- Unexpected Exception: SQLSTATE[HY000] [1045] Access denied for user ****@’localhost’ (using password: YES)
- Get user role by ID WordPress
- Call to a member function on null?
- do_shortcode not working
- SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens on line 102
- Only variable references should be returned by reference – Codeigniter
- Warning: mysqli_query() expects parameter 1 to be mysqli, resource given
- MySQL query to get column names?
- What does MYSQLI_NUM mean and do?
- WooCommerce action hooks and overriding templates
- Contact Form 7 – Custom Validation
- file_get_contents( ) not working
- ERROR: SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it
- What is the advantage of using try {} catch {} versus if {} else {}
- WordPress query single post by slug
- select * from table where column = value ^ column2= value
- Deprecated: mysql_query() [duplicate]
- How to integrate WordPress with Angular 8 for website?
- “End of script output before headers” in Apache + PHP
- No query results for model [App\Products] Laravel
- mysqlworkbench giving version error on exporting database
- How to make DROP INDEX IF EXISTS for mysql?
- What is the meaning of sprintf(): Too few arguments
- Having a problem getting mysqli_query to execute
- How can I force users to access my page over HTTPS instead of HTTP?
- Create a folder if it doesn’t already exist
- Using PHP 7 with WAMP
- Can I store images in MySQL
- MySQL Daemon Failed to Start – centos 6
- CSS background images in WordPress
- PHP Like thing similar to MySQL Like, for if statement?
- How get value from URL
- WordPress visual composer not loading
- How to use Memcached with PHP7?
- select count(*) from table of mysql in php
- You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ””)’ at line 2
- Php – Your PHP installation appears to be missing the MySQL extension which is required by WordPress
- Php – Your PHP installation appears to be missing the MySQL extension which is required by WordPress
- cannot change admin password, wordpress on godaddy
- cannot change admin password, wordpress on godaddy
- cannot change admin password, wordpress on godaddy
- WordPress- url for localhost wp-admin is not working
- WordPress- url for localhost wp-admin is not working
- WordPress get_template_directory_uri() not returning https and only return http
- How to cache/speed WordPress queries for logged in users?
- Which ways can be used to log in to WordPress?
- Is XAMPP faster than running LAMP in WSL on Windows 10? [closed]
- how to combine wordpress htaccess on my root domain + php on subfolder
- How does WP work in conjunction with a web server?
- Check against server time to display SQL entries – Radio Station DJ Rotator Plugin
- Windows Setup: Error establishing a database connection
- WAMP SERVER Command Prompt SET PATH=%PATH%
- Rewrite /keyword1+keyword2.html to search page | .htaccess