DEV Community

Discussion on: I built my own personal website! Yaaay 😎

Collapse
 
avxkim profile image
Alexander Kim

Grats, but there's a problem, you've built your website as SPA, thus you won't get a SEO benefits. I suggest you to use something like Next.js (if react) or Nuxt.js (if vue). You need SSR badly.

Collapse
 
bassemibrahim profile image
Bassem

Yeah, I was totally in the dark about that until I finished deploying it and I was hit with that client-side rendering vs server-side rendering issue. Had to use a .htaccess workaround for it to even work.

Options -MultiViews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.html [QSA,L]

Anyway, It is working now. But, I definitely want to look into NextJS. At the least for my own knowledge.

Just wondering thought, Is it a pain to set up? SSR I mean?