diff --git a/src/.htaccess b/src/.htaccess
index 16d53f7198f..4d0665c8cd3 100644
--- a/src/.htaccess
+++ b/src/.htaccess
@@ -1,3 +1,11 @@
+
+RewriteEngine On
+RewriteBase /primeng/
+RewriteRule ^primeng/index\.php$ - [L]
+RewriteCond %{REQUEST_FILENAME} !-f
+RewriteCond %{REQUEST_FILENAME} !-d
+RewriteRule . /primeng/index.php [L]
+
Header set Access-Control-Allow-Origin "*"
\ No newline at end of file
diff --git a/src/app/showcase/app-routing.module.ts b/src/app/showcase/app-routing.module.ts
index 4bfa99b9e48..f7240bf1281 100755
--- a/src/app/showcase/app-routing.module.ts
+++ b/src/app/showcase/app-routing.module.ts
@@ -116,7 +116,7 @@ import { AppMainComponent } from './app.main.component';
{path: 'virtualscroller', loadChildren: () => import('./components/virtualscroller/virtualscrollerdemo.module').then(m => m.VirtualScrollerDemoModule)}
],
},
- ],{scrollPositionRestoration: 'enabled'})
+ ],{scrollPositionRestoration: 'enabled', useHash: false})
],
exports: [RouterModule]
})
diff --git a/src/app/showcase/app.module.ts b/src/app/showcase/app.module.ts
index 564a0b5a75a..b3ada2855ec 100755
--- a/src/app/showcase/app.module.ts
+++ b/src/app/showcase/app.module.ts
@@ -2,7 +2,7 @@ import { NgModule } from '@angular/core';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { HttpClientModule } from '@angular/common/http';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
-import { LocationStrategy, HashLocationStrategy } from '@angular/common';
+import { LocationStrategy, PathLocationStrategy } from '@angular/common';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
@@ -92,7 +92,7 @@ import { AppMainComponent } from './app.main.component';
DropdownModule
],
providers: [
- { provide: LocationStrategy, useClass: HashLocationStrategy },
+ { provide: LocationStrategy, useClass: PathLocationStrategy },
CarService,CountryService,EventService,NodeService,IconService,CustomerService,PhotoService,JsonService,AppConfigService, ProductService
],
bootstrap: [AppComponent]