How can i upload and see my angular project?

.htaccess :

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

Head of Index.html

This .htaccess is not correct, because you are uploading it on the root folder. Try to remove /htdocs on the .htaccess file and upload it on your htdocs.
And you didn’t post the index.html head. So post it.

1 Like

<base href="./">

This base tag should be OK for now, but if you put CSS and JS files on separate folders, you need on your code to put the relative folder links without ./.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.